WO2017181465A1 - Access point name configuration method and device - Google Patents

Access point name configuration method and device Download PDF

Info

Publication number
WO2017181465A1
WO2017181465A1 PCT/CN2016/082516 CN2016082516W WO2017181465A1 WO 2017181465 A1 WO2017181465 A1 WO 2017181465A1 CN 2016082516 W CN2016082516 W CN 2016082516W WO 2017181465 A1 WO2017181465 A1 WO 2017181465A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
valid
terminal
information
user identification
Prior art date
Application number
PCT/CN2016/082516
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 WO2017181465A1 publication Critical patent/WO2017181465A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Definitions

  • the terminal Before determining the first user identification card used by the mobile data service currently configured by the terminal, determining whether the terminal is currently configured with a valid APN of the mobile data service, and if yes, ending the process; if not, proceeding to determine the current configuration of the terminal. The step of the first subscriber identity card used by the mobile data service.
  • the terminal adds the first APN information to the second active APN list, after the terminal replaces the user identification card, the terminal can still access the wireless network according to the APN of the first APN information, thereby shortening the terminal.
  • the APN parameters are configured, the time period of the correct and valid APN is queried, so that the terminal can quickly access the wireless data network.
  • the process of the terminal performing the APN configuration includes:
  • the first determining module 602 is configured to determine, according to the preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card, and if the first valid If the first APN information exists in the APN list, the first configuration module 603 is triggered;
  • the configuration device further includes:

Landscapes

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

Abstract

An access point name (APN) configuration method and device. The configuration method comprises: determining a first subscriber identification card used for a mobile data service currently configured for a terminal, and acquiring pre-configured information of the first subscriber identification card; determining, according to the pre-configured information of the first subscriber identification card, whether a first valid APN list pre-stored in the first subscriber identification card contains valid first APN information; and if so, then configuring, according to the first APN information, a default APN for the mobile data service of the terminal. Embodiments of the present invention enable a terminal to quickly access a wireless data network.

Description

一种接入点名称APN的配置方法及装置Method and device for configuring access point name APN 技术领域Technical field
本文涉及但不限于通信技术领域,特别涉及一种接入点名称(APN,Access Point Name)的配置方法及装置。This document relates to, but is not limited to, the field of communication technologies, and in particular, to a method and an apparatus for configuring an Access Point Name (APN).
背景技术Background technique
随着第三代移动通信技术(3G,3rd-Generation)或第四代移动通信技术(4G,the 4Generation Mobile Communication technology)等移动网络的快速发展,支持单或多3G或4G用户身份识别模块(SIM,Subscriber Identity Module)的终端持续保持快速增加的势头。目前随着移动网络数据业务资费的不断下降,支持无线数据网络已成为智能终端最关键的业务之一。而智能终端中只有在正确配置了接入点名称(APN,Access Point Name)参数后,才可以接入移动运营商经营的无线数据网络。且不同的运营商的APN配置信息不尽相同,APN的参数包括:运营商名、移动国家码(MCC,Mobile Country Code)、移动网络码(MNC,Mobile Network Code)、APN类型等。其中APN是一种网络接入技术,是通过终端上网时必须配置的一个参数组,它决定了终端通过哪种接入方式来访问网络。With the rapid development of mobile networks such as third-generation mobile communication technology (3G, 3 rd -Generation) or fourth generation mobile communication technology (4G, 4G, 4G, 4G), single or multiple 3G or 4G user identification modules are supported. Terminals (SIM, Subscriber Identity Module) continue to maintain a rapid increase in momentum. At present, with the continuous decline of mobile network data service fees, supporting wireless data networks has become one of the most critical services for smart terminals. The intelligent terminal can access the wireless data network operated by the mobile operator only after the access point name (APN) parameter is correctly configured. The APN configuration information of different operators is different. The parameters of the APN include: operator name, mobile country code (MCC, Mobile Country Code), mobile network code (MNC, Mobile Network Code), and APN type. The APN is a network access technology, which is a parameter group that must be configured when the terminal accesses the Internet. It determines the access mode through which the terminal accesses the network.
对于智能终端用户来说,可以访问的外部网络类型有很多,例如:因特网(Internet)、无线应用协议(WAP,Wireless Application Protocol)网站、集团企业内部网络、行业内部专用网络。而不同的接入点,所能访问的范围以及接入的方式是不同的,运营商的移动网络是通过APN参数来获得用户终端所要访问的网络,并根据具体情况给用户终端分配网络地址,即APN决定了用户的终端通过哪种接入方式来使用特定的网络资源。For intelligent terminal users, there are many types of external networks that can be accessed, such as the Internet, the Wireless Application Protocol (WAP) website, the intranet of the group, and the private network within the industry. Different access points, the range of access and the access mode are different. The mobile network of the operator obtains the network to be accessed by the user terminal through the APN parameter, and assigns the network address to the user terminal according to the specific situation. That is, the APN determines which access method the user's terminal uses to use specific network resources.
目前,终端建立无线数据网络连接时,需要选择和配置正确且有效的APN参数。选择APN的过程为:安卓(Android)的框架层根据SIM卡中的MCC、MNC等参数作为关键变量,在预置的APN列表数据库中轮询和查找与此SIM卡的MCC,MNC等参数相匹配的APN条目,然后按照APN列表数据库中依次选择某个APN尝试是否能够连接无线数据网络,当找到一个可有效连接 无线数据网络的APN时,使用该APN建立无线数据网络连接。Currently, when a terminal establishes a wireless data network connection, it is necessary to select and configure a correct and valid APN parameter. The process of selecting APN is: Android (Android) framework layer according to the MCC, MNC and other parameters in the SIM card as key variables, polling and searching for the MCC, MNC and other parameters of the SIM card in the preset APN list database. Match the APN entry, and then select an APN according to the APN list database to try to connect to the wireless data network, when found an effective connection When the APN of the wireless data network is used, the APN is used to establish a wireless data network connection.
由此可见,目前终端配置APN参数时,查询到正确且有效的APN的时间周期长,导致终端接入无线数据网的时间较长。Therefore, when the APN parameter is configured on the terminal, the time period for querying the correct and valid APN is long, which results in a longer time for the terminal to access the wireless data network.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种接入点名称APN的配置方法及装置,能使终端快速的接入无线数据网。The embodiment of the invention provides a method and a device for configuring an access point name APN, which enables the terminal to quickly access the wireless data network.
本发明实施例提供了一种接入点名称APN的配置方法,包括:An embodiment of the present invention provides a method for configuring an access point name APN, including:
确定终端当前配置的移动数据业务所使用的第一用户识别卡,并获取第一用户识别卡的预置信息,预置信息至少包括移动国家码和移动网络码;Determining a first user identification card used by the mobile data service currently configured by the terminal, and acquiring preset information of the first user identification card, where the preset information includes at least a mobile country code and a mobile network code;
根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息;Determining, according to preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card;
若第一有效APN列表中存在第一APN信息,则根据第一APN信息,配置终端的移动数据业务的默认APN。If the first APN information exists in the first valid APN list, the default APN of the mobile data service of the terminal is configured according to the first APN information.
可选的,配置方法还包括:Optionally, the configuration method further includes:
在确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤之前,判断终端当前是否配置有移动数据业务的有效APN,若是,则结束流程,若不是,则进入确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤。Before determining the first user identification card used by the mobile data service currently configured by the terminal, determining whether the terminal is currently configured with a valid APN of the mobile data service, and if yes, ending the process; if not, proceeding to determine the current configuration of the terminal The step of the first subscriber identity card used by the mobile data service.
可选的,Optional,
判断终端当前是否配置有移动数据业务的有效APN的步骤,包括:The step of determining whether the terminal is currently configured with a valid APN of the mobile data service includes:
在终端开机启动完成时,或者,在终端进行移动数据业务时,判断终端当前是否配置有移动数据业务的有效APN。When the terminal is booted up, or when the terminal performs mobile data service, it is determined whether the terminal is currently configured with a valid APN of the mobile data service.
可选的,配置方法还包括:Optionally, the configuration method further includes:
若第一有效APN列表中不存在第一APN信息,则根据第一用户识别卡的预置信息,判断终端中预先存储的第二有效APN列表中是否存在有效的第 二APN信息;If the first APN information does not exist in the first valid APN list, determining, according to the preset information of the first user identification card, whether there is a valid second APN list stored in the terminal. Two APN information;
若第二有效APN列表中存在第二APN信息,则根据第二APN信息,配置终端的移动数据业务的默认APN。If the second APN information exists in the second valid APN list, the default APN of the mobile data service of the terminal is configured according to the second APN information.
可选的,若第一有效APN列表中存在第一APN信息,配置方法还包括:Optionally, if the first APN information exists in the first valid APN list, the configuration method further includes:
判断终端中是否存在除第一用户识别卡外的其他用户识别卡,若是,则将第一APN信息分别添加至第二有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第一APN信息添加至第二有效APN列表中。Determining whether there is another user identification card other than the first user identification card in the terminal, and if yes, adding the first APN information to the pre-stored valid APN list in the second valid APN list and other user identification cards respectively, if not And adding the first APN information to the second valid APN list.
可选的,配置方法还包括:Optionally, the configuration method further includes:
若第二有效APN列表中存在第二APN信息,判断终端中是否存在除第一用户识别卡外的其他用户识别卡,若是,则将第二APN信息分别添加至第一有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第二APN信息添加至第一有效APN列表中。If the second APN information exists in the second valid APN list, determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, add the second APN information to the first valid APN list and other users respectively. In the list of valid APNs pre-stored in the identification card, if not, the second APN information is added to the first valid APN list.
本发明的实施例还提供了一种接入点名称APN的配置装置,包括:An embodiment of the present invention further provides an apparatus for configuring an access point name APN, including:
获取模块,设置为确定终端当前配置的移动数据业务所使用的第一用户识别卡,并获取第一用户识别卡的预置信息,预置信息至少包括移动国家码和移动网络码;The acquiring module is configured to determine a first user identification card used by the mobile data service currently configured by the terminal, and obtain preset information of the first user identification card, where the preset information includes at least a mobile country code and a mobile network code;
第一判断模块,设置为根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息,并若第一有效APN列表中存在第一APN信息,则触发第一配置模块;The first determining module is configured to determine, according to the preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card, and if the first valid APN is present, If the first APN information exists in the list, the first configuration module is triggered;
第一配置模块,设置为根据第一判断模块的触发,根据第一APN信息,配置终端的移动数据业务的默认APN。The first configuration module is configured to configure, according to the triggering of the first determining module, the default APN of the mobile data service of the terminal according to the first APN information.
可选的,配置装置还包括:Optionally, the configuration device further includes:
第二判断模块,设置为判断终端当前是否配置有移动数据业务的有效APN,并若是,则结束流程,若不是,则触发获取模块执行确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤。The second determining module is configured to determine whether the terminal currently has a valid APN for the mobile data service, and if yes, terminate the process, if not, trigger the obtaining module to perform the first user identification used to determine the mobile data service currently configured by the terminal. The steps of the card.
可选的, Optional,
第二判断模块包括:The second determining module includes:
判断单元,设置为在终端开机启动完成时,或者,在终端进行移动数据业务时,判断终端当前是否配置有移动数据业务的有效APN。The judging unit is configured to determine whether the terminal currently has a valid APN of the mobile data service when the terminal starts the booting operation, or when the terminal performs the mobile data service.
可选的,配置装置还包括:Optionally, the configuration device further includes:
第三判断模块,设置为若第一有效APN列表中不存在第一APN信息,则根据第一用户识别卡的预置信息,判断终端中预先存储的第二有效APN列表中是否存在有效的第二APN信息,并若第二有效APN列表中存在第二APN信息,则触发第二配置模块;The third determining module is configured to determine, if the first APN information does not exist in the first valid APN list, determine, according to the preset information of the first user identification card, whether the second valid APN list stored in the terminal has a valid first Two APN information, and if the second APN information exists in the second valid APN list, triggering the second configuration module;
第二配置模块,设置为根据第三判断模块的触发,根据第二APN信息,配置终端的移动数据业务的默认APN。The second configuration module is configured to configure, according to the triggering of the third determining module, the default APN of the mobile data service of the terminal according to the second APN information.
可选的,配置装置还包括:Optionally, the configuration device further includes:
第四判断模块,设置为判断终端中是否存在除第一用户识别卡外的其他用户识别卡,并若是,则将第一APN信息分别添加至第二有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第一APN信息添加至第二有效APN列表中。The fourth determining module is configured to determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, add the first APN information to the second valid APN list and other user identification cards respectively. In the valid APN list, if not, the first APN information is added to the second valid APN list.
可选的,配置装置还包括:Optionally, the configuration device further includes:
第五判断模块,设置为判断终端中是否存在除第一用户识别卡外的其他用户识别卡,并若是,则将第二APN信息分别添加至第一有效APN列表和其他用户识别卡中预先存储的有效APN列表中,否则,将第二APN信息添加至第一有效APN列表中。The fifth determining module is configured to determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, add the second APN information to the first valid APN list and other user identification cards respectively. In the valid APN list, otherwise, the second APN information is added to the first valid APN list.
本发明实施例的上述方案至少包括以下有益效果:The above solution of the embodiment of the present invention at least includes the following beneficial effects:
在本发明的实施例中,通过根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息,若存在第一APN信息时,根据该第一APN信息,配置终端的移动数据业务的默认APN,缩短了终端配置APN参数时,查询到正确且有效的APN的时间周期,减少了终端接入无线数据网的时间,从而使终端快速接入无线数据网。In the embodiment of the present invention, it is determined whether there is valid first APN information in the first valid APN list stored in the first user identification card according to the preset information of the first user identification card, if there is a first When the APN information is used, the default APN of the mobile data service of the terminal is configured according to the first APN information, which shortens the time period of the correct and valid APN when the terminal configures the APN parameter, and reduces the time for the terminal to access the wireless data network. So that the terminal can quickly access the wireless data network.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明第一实施例中接入点名称APN的配置方法的流程图;1 is a flowchart of a method for configuring an access point name APN in a first embodiment of the present invention;
图2为本发明第一实施例中第一个应用实例中终端进行APN配置的流程图;2 is a flowchart of a terminal performing APN configuration in a first application example according to the first embodiment of the present invention;
图3为本发明第一实施例中第一个应用实例中终端系统框架示意图;3 is a schematic diagram of a framework of a terminal system in a first application example in the first embodiment of the present invention;
图4为本发明第一实施例中第二个应用实例中终端进行APN配置的流程图;4 is a flowchart of performing APN configuration on a terminal in a second application example according to the first embodiment of the present invention;
图5为本发明第一实施例中第二个应用实例中终端系统框架示意图;5 is a schematic diagram of a frame of a terminal system in a second application example in the first embodiment of the present invention;
图6为本发明第二实施例中接入点名称APN的配置装置的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for configuring an access point name APN according to a second embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
第一实施例First embodiment
如图1所示,本发明的第一实施例提供了一种接入点名称APN的配置方法,该配置方法包括:As shown in FIG. 1 , a first embodiment of the present invention provides a method for configuring an access point name APN, where the configuration method includes:
步骤101,确定终端当前配置的移动数据业务所使用的第一用户识别卡,并获取第一用户识别卡的预置信息。Step 101: Determine a first user identification card used by the mobile data service currently configured by the terminal, and obtain preset information of the first user identification card.
其中,上述预置信息至少包括移动国家码和移动网络码。The preset information includes at least a mobile country code and a mobile network code.
第一用户识别卡可以为SIM卡、全球用户识别模块(USIM,Universal Subscriber Identity Module)卡和用户识别模块(UIM,User Identify Module)卡等中的任一者。The first subscriber identity card may be any one of a SIM card, a Universal Subscriber Identity Module (USIM) card, and a User Identification Module (UIM) card.
步骤102,根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息。Step 102: Determine, according to the preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card.
其中,有效的含义为:终端能够使用该第一APN信息正常使用移动运营商提供的移动数据网络。因此,上述第一APN信息包括,能使终端正常使用 移动运营商提供的移动数据网络的APN信息。The effective meaning is that the terminal can normally use the mobile data network provided by the mobile operator by using the first APN information. Therefore, the foregoing first APN information includes that the terminal can be used normally. APN information of the mobile data network provided by the mobile operator.
在本发明的第一实施例中,步骤102的具体实现方式包括:根据第一用户识别卡的预置信息,在第一有效APN列表中进行轮询和查找,得到与第一用户识别卡的预置信息匹配的APN信息,然后依次选择与第一用户识In the first embodiment of the present invention, the specific implementation of step 102 includes: performing polling and searching in the first valid APN list according to the preset information of the first user identification card, and obtaining the first user identification card. The preset information matches the APN information, and then selects the first user knowledge
别卡的预置信息匹配的APN信息对应的APN中的某个APN尝试是否能使终端接入无线数据网络,若找到一个可有效连接无线数据网络的APN,则确定第一有效APN列表中存在第一APN信息,若找不到可有效连接无线数据网络的APN,则确定第一有效APN列表中不存在第一APN信息。Whether an APN in the APN corresponding to the APN information matched by the preset information of the other card enables the terminal to access the wireless data network, and if an APN that can effectively connect to the wireless data network is found, it is determined that the first valid APN list exists. The first APN information, if the APN that can be effectively connected to the wireless data network is not found, determines that the first APN information does not exist in the first valid APN list.
其中,匹配是指关键信息一样,比如以SIM卡中的MCC和/或MNC为关键字在APN数据库中查找,查找到好一条或多条满足这个关键字的APN条目,查找到的APN条目即为与第一用户识别卡的预置信息匹配的APN信息。The matching refers to the key information. For example, the MCC and/or the MNC in the SIM card are used as keywords to search in the APN database, and one or more APN entries satisfying the keyword are found, and the found APN entry is APN information that matches the preset information of the first subscriber identity card.
步骤103,若第一有效APN列表中存在第一APN信息,则根据第一APN信息,配置终端的移动数据业务的默认APN。Step 103: If the first APN information exists in the first valid APN list, configure a default APN of the mobile data service of the terminal according to the first APN information.
在本发明的第一实施例中,若第一有效APN列表中存在第一APN信息,会将第一APN信息对应的APN设置为终端接入无线网络的默认APN(即,将第一APN信息对应的APN配置为终端的移动数据业务的默认APN)。In the first embodiment of the present invention, if the first APN information exists in the first valid APN list, the APN corresponding to the first APN information is set as the default APN of the terminal accessing the wireless network (ie, the first APN information is to be obtained). The corresponding APN is configured as the default APN of the mobile data service of the terminal.
在本发明的第一实施例中,通过根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息,若存在第一APN信息时,根据该第一APN信息,配置终端的移动数据业务的默认APN,缩短了终端配置APN参数时,查询到正确且有效的APN的时间周期,减少了终端接入无线数据网的时间,从而使终端快速接入无线数据网,提升了用户上网体验。In the first embodiment of the present invention, it is determined whether there is valid first APN information in the first valid APN list stored in the first user identification card according to the preset information of the first user identification card. When the first APN information is configured, the default APN of the mobile data service of the terminal is configured according to the first APN information, which shortens the time period of the correct and valid APN when the terminal configures the APN parameter, and reduces the terminal accessing the wireless data network. The time, so that the terminal quickly accesses the wireless data network, improving the user's online experience.
可选地,在本发明的第一实施例中,若第一有效APN列表中存在第一APN信息,上述配置方法还包括:判断终端中是否存在除第一用户识别卡外的其他用户识别卡,若是,则将第一APN信息分别添加至第二有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第一APN信息添加至第二有效APN列表中。其中,第二有效APN列表为终端自身预 先存储的有效APN列表,该第二有效APN列表中包括一组或多组APN,每组APN对应一个运营商的网络参数。需要说明的是,上述其他用户识别卡与第一用户识别卡类似,可以为SIM卡、USIM卡和UIM卡等中的任一者。Optionally, in the first embodiment of the present invention, if the first APN information exists in the first valid APN list, the foregoing configuration method further includes: determining whether there is another user identification card other than the first user identification card in the terminal. If yes, the first APN information is separately added to the second valid APN list and the pre-stored valid APN list in the other user identification card, and if not, the first APN information is added to the second valid APN list. The second valid APN list is the terminal itself pre- A valid APN list is stored first, and the second valid APN list includes one or more groups of APNs, and each group of APNs corresponds to one operator's network parameters. It should be noted that the other user identification cards are similar to the first user identification card, and may be any one of a SIM card, a USIM card, and a UIM card.
需要说明的是,在将第一APN信息添加至第二有效APN列表(或者其他用户识别卡中预先存储的有效APN列表)中时,若第二有效APN列表(或者其他用户识别卡中预先存储的有效APN列表)的剩余容量不足以放置第一APN信息时,可选择删除第二有效APN列表(或者其他用户识别卡中预先存储的有效APN列表)中不常用的APN消息,以将第一APN信息添加进来。It should be noted that, when the first APN information is added to the second valid APN list (or a valid APN list pre-stored in other user identification cards), if the second valid APN list (or other user identification cards are pre-stored) When the remaining capacity of the valid APN list is insufficient to place the first APN information, the APN message that is not commonly used in the second valid APN list (or a list of valid APNs pre-stored in other user identification cards) may be deleted to be the first APN information is added.
需要进一步说明的是,由于终端将第一APN信息添加到了第二有效APN列表中,这样当终端更换用户识别卡后,终端仍可以根据第一APN信息的APN接入无线网络,从而缩短了终端配置APN参数时,查询到正确且有效的APN的时间周期,使终端快速接入无线数据网。It should be further noted that, because the terminal adds the first APN information to the second active APN list, after the terminal replaces the user identification card, the terminal can still access the wireless network according to the APN of the first APN information, thereby shortening the terminal. When the APN parameters are configured, the time period of the correct and valid APN is queried, so that the terminal can quickly access the wireless data network.
类似地,将第一APN信息添加到其他用户识别卡中的有效APN列表中,使得当终端使用其他用户识别卡中的用户识别卡上网时,可以根据该用户识别卡中的第一APN信息中的APN接入无线网络,进而使终端快速接入无线数据网。Similarly, the first APN information is added to the valid APN list in the other user identification card, so that when the terminal uses the user identification card in the other user identification card to access the Internet, according to the first APN information in the user identification card. The APN accesses the wireless network, thereby enabling the terminal to quickly access the wireless data network.
可选地,在本发明的第一实施例中,若步骤102判断出,第一有效APN列表中不存在第一APN信息,则需要根据第一用户识别卡的预置信息,判断终端中预先存储的第二有效APN列表中是否存在有效的第二APN信息,且若第二有效APN列表中存在第二APN信息,则根据第二APN信息,配置终端的移动数据业务的默认APN。其中,第二APN信息包括,能使终端正常使用移动运营商提供的移动数据网络的APN信息。Optionally, in the first embodiment of the present invention, if it is determined in step 102 that the first APN information does not exist in the first valid APN list, it is determined that the terminal is pre-determined according to the preset information of the first user identification card. A valid second APN information exists in the stored second valid APN list, and if the second APN information exists in the second valid APN list, the default APN of the mobile data service of the terminal is configured according to the second APN information. The second APN information includes: enabling the terminal to normally use the APN information of the mobile data network provided by the mobile operator.
其中,根据第一用户识别卡的预置信息,判断终端中预先存储的第二有效APN列表中是否存在有效的第二APN信息的具体实现方式包括:根据第一用户识别卡的预置信息,在第二有效APN列表中进行轮询和查找,得到与第一用户识别卡的预置信息匹配的APN信息,然后依次选择与第一用户识别卡的预置信息匹配的APN信息对应的APN中的某个APN尝试是否能使终端接入无线数据网络,若找到一个可有效连接无线数据网络的APN,则确定第二有效APN列表中存在第二APN信息,若找不到可有效连接无线数据网络 的APN,则确定第二有效APN列表中不存在第二APN信息。The specific implementation manner of determining whether the second valid APN information exists in the second valid APN list that is pre-stored in the terminal according to the preset information of the first user identification card includes: according to preset information of the first user identification card, Performing polling and searching in the second valid APN list, obtaining APN information that matches the preset information of the first user identification card, and then sequentially selecting the APN corresponding to the APN information that matches the preset information of the first user identification card. Whether an APN attempt can enable the terminal to access the wireless data network, and if an APN that can effectively connect to the wireless data network is found, it is determined that the second APN information exists in the second valid APN list, and if the wireless data cannot be effectively connected, The internet The APN determines that the second APN information does not exist in the second valid APN list.
可选地,在本发明的第一实施例中,若第二有效APN列表中存在第二APN信息,上述配置方法还包括:判断终端中是否存在除第一用户识别卡外的其他用户识别卡,若是,则将第二APN信息分别添加至第一有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第二APN信息添加至第一有效APN列表中。Optionally, in the first embodiment of the present invention, if the second APN information exists in the second valid APN list, the foregoing configuration method further includes: determining whether there is another user identification card other than the first user identification card in the terminal. If yes, the second APN information is added to the first valid APN list and the pre-stored valid APN list in the other valid APN list, and if not, the second APN information is added to the first valid APN list.
需要说明的是,在将第二APN信息添加至第一有效APN列表(或者其他用户识别卡中预先存储的有效APN列表)中时,若第一有效APN列表(或者其他用户识别卡中预先存储的有效APN列表)的剩余容量不足以放置第二APN信息时,可选择删除第一有效APN列表(或者其他用户识别卡中预先存储的有效APN列表)中不常用的APN信息,以将第二APN信息添加进来。It should be noted that, when the second APN information is added to the first valid APN list (or a valid APN list pre-stored in other user identification cards), if the first valid APN list (or other user identification card is pre-stored) When the remaining capacity of the valid APN list is insufficient to place the second APN information, the APN information that is not commonly used in the first valid APN list (or a list of valid APNs pre-stored in other user identification cards) may be deleted to be the second APN information is added.
需要进一步说明的是,由于终端将第二APN信息添加到了第一有效APN列表中,这样当用户将第一用户识别卡插入至其他终端时,该其他终端可以根据第一有效APN列表中的第二APN信息的APN接入无线网络,从而使终端(即其他终端)快速接入无线数据网。It should be further noted that, since the terminal adds the second APN information to the first valid APN list, when the user inserts the first user identification card into another terminal, the other terminal may be according to the first valid APN list. The APN of the second APN information accesses the wireless network, so that the terminal (ie, other terminals) quickly accesses the wireless data network.
类似地,将第二APN信息添加到其他用户识别卡中的有效APN列表中,使得当终端使用其他用户识别卡中的用户识别卡上网时,可以根据该用户识别卡中的第二APN信息中的APN接入无线网络,进而使终端快速接入无线数据网。Similarly, the second APN information is added to the valid APN list in the other user identification card, so that when the terminal uses the user identification card in the other user identification card to access the Internet, according to the second APN information in the user identification card. The APN accesses the wireless network, thereby enabling the terminal to quickly access the wireless data network.
可选地,在本发明的第一实施例中,在执行上述步骤101之前,上述配置方法还包括:判断终端当前是否配置有移动数据业务的有效APN,若是,则结束流程,若不是,则进入步骤101。可选地,可以在终端开机启动完成时,或者,在终端进行移动数据业务时,判断终端当前是否配置有移动数据业务的有效APN,若终端当前配置有移动数据业务的有效APN,则结束流程,若终端当前没有配置移动数据业务的有效APN,则进入上述步骤101,以使终端快速接入无线网络。Optionally, in the first embodiment of the present invention, before the step 101 is performed, the foregoing configuration method further includes: determining whether the terminal currently has a valid APN of the mobile data service, and if yes, ending the process, if not, Go to step 101. Optionally, when the terminal is booted up, or when the terminal performs the mobile data service, it is determined whether the terminal is currently configured with a valid APN of the mobile data service. If the terminal is currently configured with a valid APN of the mobile data service, the process ends. If the terminal does not currently configure a valid APN for the mobile data service, the process proceeds to step 101 above to enable the terminal to quickly access the wireless network.
在本发明的第一实施例中,以两个具体应用实例进一步阐述上述配置方法。 In the first embodiment of the present invention, the above configuration method is further explained in two specific application examples.
在第一个应用实例中,假设终端中只有一个用户识别卡,且为SIM卡1。在终端开机启动,SIM卡1初始化成功后,如图2所示,终端进行APN配置的过程包括:In the first application example, it is assumed that there is only one subscriber identity card in the terminal and it is SIM card 1. After the terminal is powered on and the SIM card 1 is successfully initialized, as shown in FIG. 2, the process of the terminal performing the APN configuration includes:
步骤201,判断终端当前是否配置有移动数据业务的有效APN,若是,则执行步骤207,若不是,则执行步骤202。Step 201: Determine whether the terminal currently has a valid APN for the mobile data service. If yes, execute step 207. If not, execute step 202.
步骤202,获取SIM卡1的预置信息。Step 202: Acquire preset information of the SIM card 1.
步骤203,判断SIM卡1中的第一有效APN列表中,是否存在有效的第一APN信息,若存在,则执行步骤204,若不存在,则执行步骤205。Step 203: Determine whether there is valid first APN information in the first valid APN list in the SIM card 1. If yes, execute step 204. If not, execute step 205.
步骤204,根据第一APN信息,配置终端的移动数据业务的默认APN,同时将第一APN信息添加至终端中的第二有效APN列表中。Step 204: Configure a default APN of the mobile data service of the terminal according to the first APN information, and add the first APN information to the second valid APN list in the terminal.
步骤205,判断终端中的第二有效APN列表中,是否存在有效的第二APN信息,若存在第二APN信息,则执行步骤206。Step 205: Determine whether there is valid second APN information in the second valid APN list in the terminal. If the second APN information exists, step 206 is performed.
步骤206,根据第二APN信息,配置终端的移动数据业务的默认APN,同时将第二APN信息添加至第一有效APN列表中。Step 206: Configure a default APN of the mobile data service of the terminal according to the second APN information, and add the second APN information to the first valid APN list.
步骤207,结束流程。In step 207, the process ends.
其中,在第一个应用实例中,第一有效APN列表和第二有效APN列表的同步方式如图3所示。其中,第一有效APN列表和第二有效APN列表的同步是指将第一APN信息添加至第二有效APN列表中,和将第二APN信息添加至第一有效APN列表中。In the first application example, the synchronization manner of the first valid APN list and the second valid APN list is as shown in FIG. 3 . The synchronizing the first valid APN list and the second valid APN list refers to adding the first APN information to the second valid APN list, and adding the second APN information to the first valid APN list.
在第二个应用实例中,假设终端中有两个用户识别卡,分别为SIM卡2和SIM卡3。在终端开机启动,SIM卡2和SIM卡3初始化成功后,若终端使用SIM卡2连接无线网络,如图4所示,终端进行APN配置的过程包括:In the second application example, it is assumed that there are two subscriber identity cards in the terminal, namely SIM card 2 and SIM card 3. After the terminal is powered on and the SIM card 2 and the SIM card 3 are successfully initialized, if the terminal uses the SIM card 2 to connect to the wireless network, as shown in FIG. 4, the process of the terminal performing the APN configuration includes:
步骤401,判断终端当前是否配置有移动数据业务的有效APN,若是,则执行步骤407,若不是,则执行步骤402。Step 401: Determine whether the terminal currently has a valid APN for the mobile data service. If yes, execute step 407. If not, execute step 402.
步骤402,获取SIM卡2的预置信息。Step 402: Acquire preset information of the SIM card 2.
步骤403,判断SIM卡2中的第一有效APN列表中,是否存在有效的第一APN信息,若存在则执行步骤404,若不存在,则执行步骤405。 Step 403: Determine whether there is valid first APN information in the first valid APN list in the SIM card 2. If yes, execute step 404. If not, execute step 405.
步骤404,根据第一APN信息,配置终端的移动数据业务的默认APN,同时将第一APN信息添加至,终端中的第二有效APN列表和SIM卡3中的第一有效APN列表中。Step 404: Configure a default APN of the mobile data service of the terminal according to the first APN information, and add the first APN information to the second valid APN list in the terminal and the first valid APN list in the SIM card 3.
步骤405,判断终端中的第二有效APN列表中,是否存在有效的第二APN信息,若存在第二APN信息,则执行步骤406。Step 405: Determine whether there is valid second APN information in the second valid APN list in the terminal. If the second APN information exists, step 406 is performed.
步骤406,根据第二APN信息,配置终端的移动数据业务的默认APN,同时将第二APN信息添加至,SIM卡2中第一有效APN列表和SIM卡3中的第一有效APN列表中。Step 406: Configure a default APN of the mobile data service of the terminal according to the second APN information, and add the second APN information to the first valid APN list in the SIM card 2 and the first valid APN list in the SIM card 3.
步骤407,结束流程。In step 407, the process ends.
其中,在第二个应用实例中,SIM卡2中的第一有效APN列表、SIM卡3中的第一有效APN列表和终端中的第二有效APN列表之间的同步方式如图5所示。In the second application example, the synchronization manner between the first valid APN list in the SIM card 2, the first valid APN list in the SIM card 3, and the second active APN list in the terminal is as shown in FIG. .
其中,SIM卡2中的第一有效APN列表和SIM卡3中的第一有效APN列表的同步是指,将从SIM卡2中的第一有效APN列表找到的第一APN信息添加到SIM卡3中的第一有效APN列表中;The synchronization of the first valid APN list in the SIM card 2 and the first valid APN list in the SIM card 3 means that the first APN information found from the first valid APN list in the SIM card 2 is added to the SIM card. The first valid APN list in 3;
SIM卡2中的第一有效APN列表和第二有效APN列表的同步是指,将从SIM卡2中的第一有效APN列表找到的第一APN信息添加至第二有效APN列表中,以及将第二APN信息添加至SIM卡2中的第一有效APN列表中;The synchronization of the first valid APN list and the second valid APN list in the SIM card 2 means that the first APN information found from the first valid APN list in the SIM card 2 is added to the second valid APN list, and The second APN information is added to the first valid APN list in the SIM card 2;
SIM卡3中的第一有效APN列表和第二有效APN列表的同步是指,将第二APN信息添加至SIM卡3中的第一有效APN列表中。The synchronization of the first valid APN list and the second active APN list in the SIM card 3 means that the second APN information is added to the first valid APN list in the SIM card 3.
需要说明的是,在第二个应用实例中,在终端开机启动,SIM卡2和SIM卡3初始化成功后,当终端使用SIM卡3连接无线网络时,终端进行APN配置的过程与上述终端使用SIM卡2连接无线网络时,终端进行APN配置的过程类似,为避免重复,在此不对其进行过多阐述。It should be noted that, in the second application example, after the terminal is powered on and the SIM card 2 and the SIM card 3 are successfully initialized, when the terminal uses the SIM card 3 to connect to the wireless network, the terminal performs the APN configuration process and the terminal uses. When the SIM card 2 is connected to the wireless network, the process of the APN configuration of the terminal is similar. To avoid repetition, it is not described here.
上述方法可以在移动终端中实现。The above method can be implemented in a mobile terminal.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。 Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
第二实施例Second embodiment
如图6所示,本发明的第二实施例提供了一种接入点名称APN的配置装置,包括:As shown in FIG. 6, the second embodiment of the present invention provides an apparatus for configuring an access point name APN, including:
获取模块601,设置为确定终端当前配置的移动数据业务所使用的第一用户识别卡,并获取第一用户识别卡的预置信息,预置信息至少包括移动国家码和移动网络码;The obtaining module 601 is configured to determine a first user identification card used by the mobile data service currently configured by the terminal, and obtain preset information of the first user identification card, where the preset information includes at least a mobile country code and a mobile network code;
第一判断模块602,设置为根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息,并若第一有效APN列表中存在第一APN信息,则触发第一配置模块603;The first determining module 602 is configured to determine, according to the preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card, and if the first valid If the first APN information exists in the APN list, the first configuration module 603 is triggered;
第一配置模块603,设置为根据第一判断模块602的触发,根据第一APN信息,配置终端的移动数据业务的默认APN。The first configuration module 603 is configured to configure a default APN of the mobile data service of the terminal according to the first APN information according to the trigger of the first determining module 602.
其中,配置装置还包括:The configuration device further includes:
第二判断模块,设置为判断终端当前是否配置有移动数据业务的有效APN,若是,则结束流程,若不是,则触发获取模块601执行确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤。The second determining module is configured to determine whether the terminal is currently configured with a valid APN of the mobile data service, and if yes, the process ends; if not, the trigger obtaining module 601 performs a first user identification used to determine the mobile data service currently configured by the terminal. The steps of the card.
其中,among them,
第二判断模块包括:The second determining module includes:
判断单元,设置为在终端开机启动完成时,或者,在终端进行移动数据业务时,判断终端当前是否配置有移动数据业务的有效APN。The judging unit is configured to determine whether the terminal currently has a valid APN of the mobile data service when the terminal starts the booting operation, or when the terminal performs the mobile data service.
其中,配置装置还包括:The configuration device further includes:
第三判断模块,设置为若第一有效APN列表中不存在第一APN信息,则根据第一用户识别卡的预置信息,判断终端中预先存储的第二有效APN列表中是否存在有效的第二APN信息,并若第二有效APN列表中存在第二APN信息,则触发第二配置模块;The third determining module is configured to determine, if the first APN information does not exist in the first valid APN list, determine, according to the preset information of the first user identification card, whether the second valid APN list stored in the terminal has a valid first Two APN information, and if the second APN information exists in the second valid APN list, triggering the second configuration module;
第二配置模块,设置为根据第三判断模块的触发,根据第二APN信息,配置终端的移动数据业务的默认APN。 The second configuration module is configured to configure, according to the triggering of the third determining module, the default APN of the mobile data service of the terminal according to the second APN information.
其中,配置装置还包括:The configuration device further includes:
第四判断模块,设置为判断终端中是否存在除第一用户识别卡外的其他用户识别卡,若是,则将第一APN信息分别添加至第二有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第一APN信息添加至第二有效APN列表中。The fourth determining module is configured to determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, add the first APN information to the second valid APN list and the other user identification cards, which are pre-stored. In the valid APN list, if not, the first APN information is added to the second valid APN list.
其中,配置装置还包括:The configuration device further includes:
第五判断模块,设置为判断终端中是否存在除第一用户识别卡外的其他用户识别卡,若是,则将第二APN信息分别添加至第一有效APN列表和其他用户识别卡中预先存储的有效APN列表中,若不是,则将第二APN信息添加至第一有效APN列表中。The fifth determining module is configured to determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, add the second APN information to the first valid APN list and other user identification cards respectively. In the valid APN list, if not, the second APN information is added to the first valid APN list.
在本发明的第二实施例中,通过根据第一用户识别卡的预置信息,判断第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息,若第一有效APN列表中存在第一APN信息时,根据该第一APN信息,配置终端的移动数据业务的默认APN,缩短了终端配置APN参数时,查询到正确且有效的APN的时间周期,减少了终端接入无线数据网的时间,使终端快速接入无线数据网,提升了用户上网体验。In the second embodiment of the present invention, it is determined whether there is valid first APN information in the first valid APN list stored in the first user identification card according to the preset information of the first user identification card. When the first APN information exists in a valid APN list, the default APN of the mobile data service of the terminal is configured according to the first APN information, which shortens the time period of the correct and effective APN when the terminal configures the APN parameter, and reduces the time period. The time when the terminal accesses the wireless data network enables the terminal to quickly access the wireless data network, thereby improving the user's online experience.
需要说明的是,本发明第二实施例提供的接入点名称APN的配置装置是应用上述接入点名称APN的配置方法的接入点名称APN的配置装置,即上述接入点名称APN的配置方法的所有实施例均适用于该接入点名称APN的配置装置,且均能达到相同或相似的有益效果。It should be noted that the device for configuring the access point name APN provided by the second embodiment of the present invention is a device for configuring the access point name APN applying the configuration method of the access point name APN, that is, the access point name APN. All embodiments of the configuration method are applicable to the configuration device of the access point name APN, and both achieve the same or similar benefits.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性Industrial applicability
上述技术方案缩短了终端配置APN参数时,查询到正确且有效的APN的时间周期,减少了终端接入无线数据网的时间,从而使终端快速接入无线数据网。 The foregoing technical solution shortens the time period of the correct and effective APN when the terminal configures the APN parameter, and reduces the time for the terminal to access the wireless data network, thereby enabling the terminal to quickly access the wireless data network.

Claims (12)

  1. 一种接入点名称APN的配置方法,包括:A method for configuring an access point name APN, including:
    确定终端当前配置的移动数据业务所使用的第一用户识别卡,并获取所述第一用户识别卡的预置信息,所述预置信息至少包括移动国家码和移动网络码;Determining a first user identification card used by the mobile data service currently configured by the terminal, and acquiring preset information of the first user identification card, where the preset information includes at least a mobile country code and a mobile network code;
    根据所述第一用户识别卡的预置信息,判断所述第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息;Determining, according to the preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card;
    若所述第一有效APN列表中存在所述第一APN信息,则根据所述第一APN信息,配置所述终端的移动数据业务的默认APN。And if the first APN information exists in the first valid APN list, configuring a default APN of the mobile data service of the terminal according to the first APN information.
  2. 如权利要求1所述的配置方法,所述配置方法还包括:The configuration method of claim 1, the configuration method further comprising:
    在所述确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤之前,Before the step of determining the first subscriber identity card used by the mobile data service currently configured by the terminal,
    判断终端当前是否配置有移动数据业务的有效APN,若是,则结束流程,若不是,则进入所述确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤。It is determined whether the terminal currently has a valid APN of the mobile data service, and if so, the process ends, and if not, the step of determining the first user identification card used by the mobile data service currently configured by the terminal is entered.
  3. 如权利要求2所述的配置方法,其中,The configuration method according to claim 2, wherein
    所述判断终端当前是否配置有移动数据业务的有效APN的步骤,包括:The step of determining whether the terminal is currently configured with a valid APN of the mobile data service includes:
    在终端开机启动完成时,或者,在终端进行移动数据业务时,判断终端当前是否配置有移动数据业务的有效APN。When the terminal is booted up, or when the terminal performs mobile data service, it is determined whether the terminal is currently configured with a valid APN of the mobile data service.
  4. 如权利要求1所述的配置方法,所述配置方法还包括:The configuration method of claim 1, the configuration method further comprising:
    若所述第一有效APN列表中不存在所述第一APN信息,则根据所述第一用户识别卡的预置信息,判断所述终端中预先存储的第二有效APN列表中是否存在有效的第二APN信息;If the first APN information does not exist in the first valid APN list, determining, according to the preset information of the first user identification card, whether the second valid APN list stored in the terminal is valid Second APN information;
    若所述第二有效APN列表中存在所述第二APN信息,则根据所述第二APN信息,配置所述终端的移动数据业务的默认APN。And if the second APN information exists in the second valid APN list, configuring a default APN of the mobile data service of the terminal according to the second APN information.
  5. 如权利要求4所述的配置方法,所述配置方法还包括: The configuration method of claim 4, the configuration method further comprising:
    若所述第一有效APN列表中存在所述第一APN信息,If the first APN information exists in the first valid APN list,
    判断所述终端中是否存在除所述第一用户识别卡外的其他用户识别卡,若是,则将所述第一APN信息分别添加至所述第二有效APN列表和所述其他用户识别卡中预先存储的有效APN列表中,若不是,则将所述第一APN信息添加至所述第二有效APN列表中。Determining whether there is another user identification card other than the first user identification card in the terminal, and if yes, adding the first APN information to the second valid APN list and the other user identification cards respectively In the pre-stored valid APN list, if not, the first APN information is added to the second valid APN list.
  6. 如权利要求4所述的配置方法,所述配置方法还包括:The configuration method of claim 4, the configuration method further comprising:
    若所述第二有效APN列表中存在所述第二APN信息,If the second APN information exists in the second valid APN list,
    判断所述终端中是否存在除所述第一用户识别卡外的其他用户识别卡,若是,则将所述第二APN信息分别添加至所述第一有效APN列表和所述其他用户识别卡中预先存储的有效APN列表中,若不是,将所述第二APN信息添加至所述第一有效APN列表中。Determining whether there is another user identification card other than the first user identification card in the terminal, and if yes, adding the second APN information to the first valid APN list and the other user identification cards respectively In the pre-stored valid APN list, if not, the second APN information is added to the first valid APN list.
  7. 一种接入点名称APN的配置装置,包括:An apparatus for configuring an access point name APN, including:
    获取模块,设置为确定终端当前配置的移动数据业务所使用的第一用户识别卡,并获取所述第一用户识别卡的预置信息,所述预置信息至少包括移动国家码和移动网络码;An acquiring module, configured to determine a first user identification card used by the mobile data service currently configured by the terminal, and acquire preset information of the first user identification card, where the preset information includes at least a mobile country code and a mobile network code ;
    第一判断模块,设置为根据所述第一用户识别卡的预置信息,判断所述第一用户识别卡中预先存储的第一有效APN列表中,是否存在有效的第一APN信息,并若所述第一有效APN列表中存在所述第一APN信息,则触发第一配置模块;The first determining module is configured to determine, according to the preset information of the first user identification card, whether there is valid first APN information in the first valid APN list stored in the first user identification card, and if The first APN information exists in the first valid APN list, and the first configuration module is triggered;
    第一配置模块,设置为根据所述第一判断模块的触发,根据所述第一APN信息,配置所述终端的移动数据业务的默认APN。The first configuration module is configured to configure, according to the triggering of the first determining module, a default APN of the mobile data service of the terminal according to the first APN information.
  8. 如权利要求7所述的配置装置,所述配置装置还包括:The configuration device of claim 7, the configuration device further comprising:
    第二判断模块,设置为判断终端当前是否配置有移动数据业务的有效APN,若是,则结束流程,若不是,则触发所述获取模块执行确定终端当前配置的移动数据业务所使用的第一用户识别卡的步骤。The second determining module is configured to determine whether the terminal is currently configured with a valid APN of the mobile data service, and if yes, the process ends; if not, the acquiring module is triggered to execute the first user used to determine the mobile data service currently configured by the terminal. The steps to identify the card.
  9. 如权利要求8所述的配置装置,其中,The configuration device according to claim 8, wherein
    所述第二判断模块包括: The second determining module includes:
    判断单元,设置为在终端开机启动完成时,或者,在终端进行移动数据业务时,判断终端当前是否配置有移动数据业务的有效APN。The judging unit is configured to determine whether the terminal currently has a valid APN of the mobile data service when the terminal starts the booting operation, or when the terminal performs the mobile data service.
  10. 如权利要求7所述的配置装置,所述配置装置还包括:The configuration device of claim 7, the configuration device further comprising:
    第三判断模块,设置为若所述第一有效APN列表中不存在所述第一APN信息,则根据所述第一用户识别卡的预置信息,判断所述终端中预先存储的第二有效APN列表中是否存在有效的第二APN信息,并若所述第二有效APN列表中存在所述第二APN信息,则触发第二配置模块;The third determining module is configured to: if the first APN information does not exist in the first valid APN list, determine, according to preset information of the first user identification card, a second valid pre-stored in the terminal Whether there is valid second APN information in the APN list, and if the second APN information exists in the second valid APN list, triggering the second configuration module;
    第二配置模块,设置为根据所述第三判断模块的触发,根据所述第二APN信息,配置所述终端的移动数据业务的默认APN。The second configuration module is configured to configure, according to the triggering of the third determining module, a default APN of the mobile data service of the terminal according to the second APN information.
  11. 如权利要求10所述的配置装置,所述配置装置还包括:The configuration device of claim 10, the configuration device further comprising:
    第四判断模块,设置为判断所述终端中是否存在除所述第一用户识别卡外的其他用户识别卡,若是,则将所述第一APN信息分别添加至所述第二有效APN列表和所述其他用户识别卡中预先存储的有效APN列表中,若不是,则将所述第一APN信息添加至所述第二有效APN列表中。a fourth determining module, configured to determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, adding the first APN information to the second valid APN list and In the valid APN list pre-stored in the other user identification card, if not, the first APN information is added to the second valid APN list.
  12. 如权利要求10所述的配置装置,所述配置装置还包括:The configuration device of claim 10, the configuration device further comprising:
    第五判断模块,设置为判断所述终端中是否存在除所述第一用户识别卡外的其他用户识别卡,并若是,则将所述第二APN信息分别添加至所述第一有效APN列表和所述其他用户识别卡中预先存储的有效APN列表中,否则,将所述第二APN信息添加至所述第一有效APN列表中。 a fifth determining module, configured to determine whether there is another user identification card other than the first user identification card in the terminal, and if yes, adding the second APN information to the first valid APN list And validating the pre-stored valid APN list in the other user identification card, otherwise, adding the second APN information to the first valid APN list.
PCT/CN2016/082516 2016-04-21 2016-05-18 Access point name configuration method and device WO2017181465A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610250798.4A CN107306388B (en) 2016-04-21 2016-04-21 Configuration method and device of Access Point Name (APN)
CN201610250798.4 2016-04-21

Publications (1)

Publication Number Publication Date
WO2017181465A1 true WO2017181465A1 (en) 2017-10-26

Family

ID=60115466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082516 WO2017181465A1 (en) 2016-04-21 2016-05-18 Access point name configuration method and device

Country Status (2)

Country Link
CN (1) CN107306388B (en)
WO (1) WO2017181465A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156600B (en) * 2017-12-20 2021-11-23 中国移动通信集团江苏有限公司 Method, device, equipment and medium for automatically configuring APN (access point name) of Internet of things card
CN109195200B (en) * 2018-08-27 2021-01-15 京信通信系统(中国)有限公司 APN allocation method, device, communication equipment and system
CN112074001A (en) * 2020-08-27 2020-12-11 展讯半导体(成都)有限公司 Network access method and communication device
CN112468315A (en) * 2020-11-03 2021-03-09 上海中觅通信技术有限公司 APN configuration method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101248640A (en) * 2005-01-24 2008-08-20 艾利森电话股份有限公司 Method for selecting an access point name (APN) for a mobileterminal in a packet switched telecommunications network
CN102281612A (en) * 2011-07-13 2011-12-14 华为终端有限公司 Method and device for realizing automatic dialing by access point
US20140031022A1 (en) * 2012-07-27 2014-01-30 Apple Inc. Using Access Technology and Location Information to Smartly Initiate Bearer Independent Protocol Sessions
CN103813295A (en) * 2012-11-13 2014-05-21 中兴通讯股份有限公司 Method and device for automatically configuring and updating access point name parameters
CN105517104A (en) * 2015-12-09 2016-04-20 中国联合网络通信集团有限公司 Terminal and method for establishing network connection through APN by terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826967B (en) * 2009-11-25 2012-07-04 华为终端有限公司 Data card and dial-up networking method
CN102006210B (en) * 2010-11-26 2013-10-02 华为终端有限公司 User equipment dial-up networking method, device and system
CN104602363B (en) * 2014-12-25 2018-11-13 联想(北京)有限公司 A kind of electronic equipment and its APN information update method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101248640A (en) * 2005-01-24 2008-08-20 艾利森电话股份有限公司 Method for selecting an access point name (APN) for a mobileterminal in a packet switched telecommunications network
CN102281612A (en) * 2011-07-13 2011-12-14 华为终端有限公司 Method and device for realizing automatic dialing by access point
US20140031022A1 (en) * 2012-07-27 2014-01-30 Apple Inc. Using Access Technology and Location Information to Smartly Initiate Bearer Independent Protocol Sessions
CN103813295A (en) * 2012-11-13 2014-05-21 中兴通讯股份有限公司 Method and device for automatically configuring and updating access point name parameters
CN105517104A (en) * 2015-12-09 2016-04-20 中国联合网络通信集团有限公司 Terminal and method for establishing network connection through APN by terminal

Also Published As

Publication number Publication date
CN107306388B (en) 2021-07-27
CN107306388A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
US11729594B2 (en) Network access method, device, and system
US9560617B2 (en) Wireless network access method and apparatus, terminal, and server
KR101692796B1 (en) Methods and apparatus to facilitate single sign-on services
WO2018000834A1 (en) Wifi hotspot information modification method and device
WO2016173348A1 (en) Network access method and mobile communications terminal
CN107015870B (en) Method and device for realizing communication between web page and local application and electronic equipment
CN109462601B (en) Multi-platform access method and device based on eSIM
CN110417730B (en) Unified access method of multiple application programs and related equipment
WO2017181465A1 (en) Access point name configuration method and device
JP6389319B2 (en) Roaming network access method and apparatus
WO2015074443A1 (en) An operation processing method and device
CN112738046B (en) One-key login method, terminal and system server
US9112883B2 (en) Method of registering a mobile station with a social networking site
WO2014131285A1 (en) Mobile terminal, network login method and device thereof
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN106488534A (en) Obtain the method and system of Network Access Point
CN107786975A (en) Voice service registration method and device and mobile terminal
WO2016107072A1 (en) Terminal and network selection method therefor
US11228586B2 (en) Method for automating user authentication on a mobile application
CN109951549B (en) Network page access method and device and computer readable storage medium
CN108282784B (en) Wireless network access method, MiFi terminal, mobile terminal and storage medium
WO2016165674A1 (en) Trusted environment operating method and device for terminal
CN114585055A (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal
WO2016177223A1 (en) Core network access control method and device
US11399067B2 (en) Network access method and apparatus for speech recognition service based on artificial intelligence

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899052

Country of ref document: EP

Kind code of ref document: A1