[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107306388A - A kind of APN APN collocation method and device - Google Patents

A kind of APN APN collocation method and device Download PDF

Info

Publication number
CN107306388A
CN107306388A CN201610250798.4A CN201610250798A CN107306388A CN 107306388 A CN107306388 A CN 107306388A CN 201610250798 A CN201610250798 A CN 201610250798A CN 107306388 A CN107306388 A CN 107306388A
Authority
CN
China
Prior art keywords
apn
terminal
information
effective
list
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201610250798.4A
Other languages
Chinese (zh)
Other versions
CN107306388B (en
Inventor
李希鹏
徐艳军
王启付
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610250798.4A priority Critical patent/CN107306388B/en
Priority to PCT/CN2016/082516 priority patent/WO2017181465A1/en
Publication of CN107306388A publication Critical patent/CN107306388A/en
Application granted granted Critical
Publication of CN107306388B publication Critical patent/CN107306388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The embodiment provides a kind of APN APN collocation method and device, the wherein collocation method includes:The first Subscriber Identity Module used in the mobile data services that terminal is currently configured is determined, and obtains the preset information of the first Subscriber Identity Module;According to the preset information of the first Subscriber Identity Module, judge in first effective APN lists for being prestored in the first Subscriber Identity Module, if there is effective first APN information;If there is the first APN information in first effective APN lists, according to the first APN information, the acquiescence APN of the mobile data services of configurating terminal.Embodiments of the invention can make terminal quickly access wireless data network.

Description

Configuration method and device of Access Point Name (APN)
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring an access point name APN.
Background
With the rapid development of mobile networks such as the third generation mobile communication technology (3G)/the fourth generation mobile communication technology (4G), terminals supporting single or multiple 3G/4G Subscriber Identity Modules (SIM) continuously maintain a rapidly increasing momentum. At present, with the continuous decrease of the mobile network data service charge, the support of the wireless data network becomes one of the most critical services of the intelligent terminal. And the intelligent terminal can Access the wireless data network operated by the mobile operator only after the parameter of the Access Point Name (APN) is correctly configured. And the APN configuration information of different operators is different, and the parameters of the APN include: an operator name, a Mobile Country Code (MCC), a Mobile Network Code (MNC), an APN type, etc. The APN is a network access technology, and is a parameter that must be configured when the terminal accesses the internet, and it determines which access method the terminal accesses the network through.
There are many types of external networks that can be accessed by the intelligent end user, for example: the Internet (Internet), Wireless Application Protocol (WAP) websites, corporate enterprise intranets, and industry intranet private networks. Different access points have different access ranges and access modes, and the mobile network of the operator obtains the network to be accessed by the user terminal through the APN parameter and allocates a network address to the user terminal according to specific conditions, that is, the APN determines which access mode the user terminal uses a specific network resource.
Currently, when a terminal establishes a wireless data network connection, it needs to select and configure correct and valid APN parameters. The process of selecting APN is: and the Android (Android) framework layer polls and searches APN entries matched with the MCC, MNC, SPN and other parameters of the SIM card in a preset APN list database according to the MCC, MNC, SPN and other parameters in the SIM card as key changes, then selects a certain APN in sequence according to the APN list database to try to connect a wireless data network, and establishes wireless data network connection by using the APN when finding an APN capable of being effectively connected with the wireless data network.
Therefore, when the APN parameters are configured by the terminal at present, the time period for inquiring the correct and effective APN is long, and the time for accessing the terminal to the wireless data network is long.
Disclosure of Invention
The embodiment of the invention aims to provide a configuration method and a configuration device of an Access Point Name (APN), which can enable a terminal to be rapidly accessed into a wireless data network.
In order to achieve the above object, 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 a mobile data service currently configured by a terminal, and acquiring preset information of the first user identification card, wherein the preset information at least comprises a mobile country code and a mobile network code;
judging whether effective first APN information exists in a first effective APN list prestored in the first subscriber identity card or not according to preset information of the first subscriber identity card;
and if the first effective APN list has the first APN information, configuring a default APN of the mobile data service of the terminal according to the first APN information.
Wherein,
before the step of determining the first subscriber identity card used by the mobile data service currently configured by the terminal, the configuration method further includes:
and judging whether the terminal is currently configured with the effective APN of the mobile data service, if so, ending the process, otherwise, entering a step of determining a first user identification card used by the mobile data service currently configured by the terminal.
Wherein,
the step of judging whether the terminal is currently configured with the effective APN of the mobile data service comprises the following steps:
when the terminal is started up and started up, or when the terminal carries out mobile data service, whether the terminal is currently configured with the effective APN of the mobile data service is judged.
After the step of judging whether valid first APN information exists in a first valid APN list pre-stored in the first subscriber identity card according to the preset information of the first subscriber identity card, the configuration method further comprises the following steps:
if the first effective APN list does not have the first APN information, judging whether the second effective APN information prestored in the terminal exists in a second effective APN list according to the preset information of the first subscriber identity card;
and if the second effective APN list has second APN information, configuring a default APN of the mobile data service of the terminal according to the second APN information.
If the first valid APN list has the first APN information, the configuration method further comprises:
and judging whether other user identification cards except the first user identification card exist in the terminal, if so, respectively adding the first APN information to a second effective APN list and effective APN lists prestored in other user identification cards, and otherwise, adding the first APN information to the second effective APN list.
If the second valid APN list has the second APN information, the configuration method further comprises the following steps:
and judging whether other user identification cards except the first user identification card exist in the terminal, if so, respectively adding the second APN information to the first effective APN list and effective APN lists prestored in other user identification cards, and otherwise, adding the second APN information to the first effective APN list.
The embodiment of the present invention further provides a device for configuring an access point name APN, including:
the terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for determining a first user identification card used by a mobile data service currently configured by the terminal and acquiring preset information of the first user identification card, and the preset information at least comprises a mobile country code and a mobile network code;
the first judging module is used for judging whether effective first APN information exists in a first effective APN list prestored in the first subscriber identity card according to preset information of the first subscriber identity card, and triggering the first configuration module if the first APN information exists in the first effective APN list;
and the first configuration module is used for configuring the default APN of the mobile data service of the terminal according to the trigger of the first judgment module and the first APN information.
Wherein, the configuration device further comprises:
and the second judging module is used for judging whether the terminal is currently configured with the effective APN of the mobile data service, if so, ending the process, and otherwise, triggering the acquisition module to execute the step of determining the first subscriber identity module card used by the mobile data service currently configured by the terminal.
Wherein,
the second judging module includes:
and the judging unit is used for judging whether the terminal is currently configured with the effective APN of the mobile data service or not when the terminal is started and started or when the terminal carries out the mobile data service.
Wherein, the configuration device further comprises:
a third judging module, configured to judge whether valid second APN information exists in a second valid APN list prestored in the terminal according to preset information of the first subscriber identity card if the first APN information does not exist in the first valid APN list, and trigger the second configuration module if the second APN information exists in the second valid APN list;
and the second configuration module is used for configuring the default APN of the mobile data service of the terminal according to the trigger of the third judgment module and the second APN information.
Wherein, the configuration device further comprises:
and the fourth judging module is used for judging whether other subscriber identification cards except the first subscriber identification card exist in the terminal, if so, adding the first APN information into the second effective APN list and effective APN lists prestored in other subscriber identification cards respectively, and otherwise, adding the first APN information into the second effective APN list.
Wherein, the configuration device further comprises:
and the fifth judging module is used for judging whether other subscriber identification cards except the first subscriber identification card exist in the terminal, and if so, adding the second APN information into the first effective APN list and the effective APN lists prestored in the other subscriber identification cards respectively, otherwise, adding the second APN information into the first effective APN list.
The scheme of the invention at least comprises the following beneficial effects:
in the embodiment of the invention, whether the valid first APN information exists in a first valid APN list prestored in the first subscriber identity card is judged according to the preset information of the first subscriber identity card, and if the valid first APN information exists, the default APN of the mobile data service of the terminal is configured according to the first APN information, so that the problem that the time period for inquiring the correct and valid APN is long when the APN parameter is configured by the terminal, and the time for accessing the terminal into the wireless data network is long is solved, and the effect of enabling the terminal to be rapidly accessed into the wireless data network is achieved.
Drawings
Fig. 1 is a flowchart of a configuration method of an access point name APN according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating APN configuration performed by a terminal in a first application example according to a first embodiment of the present invention;
FIG. 3 is a diagram illustrating a framework of a terminal system in a first example of an application according to a first embodiment of the present invention;
fig. 4 is a flowchart illustrating APN configuration performed by a terminal in a second application example according to the first embodiment of the present invention;
FIG. 5 is a diagram illustrating a framework of a terminal system in a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a configuration apparatus for an access point name APN in a second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
First embodiment
As shown in fig. 1, a first embodiment of the present invention provides a method for configuring an access point name APN, where the method includes:
step 101, determining a first subscriber identity module card used by a mobile data service currently configured by a terminal, and acquiring preset information of the first subscriber identity module card.
The preset information at least comprises a mobile country code and a mobile network code. The first Subscriber Identity card may be any one of a SIM card, a Universal Subscriber Identity Module (USIM) card, a User Identity Module (UIM) card, and the like.
Step 102, judging whether valid first APN information exists in a first valid APN list pre-stored in the first subscriber identity card according to preset information of the first subscriber identity card.
Wherein the effective meanings are as follows: the terminal can normally use a mobile data network provided by a mobile operator using the APN information. Therefore, the first APN information is APN information that enables the terminal to normally use the mobile data network provided by the mobile operator.
In the first embodiment of the present invention, the specific implementation manner of step 102 is: and polling and searching in a first effective APN list according to preset information of the first subscriber identity card to obtain APN information matched with the preset information of the first subscriber identity card, then selecting a certain APN in the obtained APN information in sequence to try to enable the terminal to access a wireless data network, if an APN capable of being effectively connected with the wireless data network is found, determining that the first APN information exists in the first effective APN list, and if the APN capable of being effectively connected with the wireless data network cannot be found, determining that the first APN information does not exist in the first effective APN list.
Step 103, if the first valid APN list has the first APN information, configuring a default APN of the mobile data service of the terminal according to the first APN information.
In the first embodiment of the present invention, if the first valid APN list includes the first APN information, the APN of the first APN information is set as a default APN for accessing the terminal to the wireless network (i.e., the APN of the first APN information is configured as a default APN for the mobile data service of the terminal).
In the first embodiment of the present invention, whether valid first APN information exists in a first valid APN list pre-stored in a first subscriber identity card is judged according to preset information of the first subscriber identity card, and if the valid first APN information exists, a default APN of a mobile data service of a terminal is configured according to the first APN information, so that a problem that a time period for inquiring a correct and valid APN is long when a terminal configures APN parameters is solved, which results in a long time for the terminal to access a wireless data network, and an effect of enabling the terminal to quickly access the wireless data network and improving a user internet experience is achieved.
Optionally, in the first embodiment of the present invention, if the first valid APN list includes the first APN information, the configuration method further includes: and judging whether other user identification cards except the first user identification card exist in the terminal, if so, respectively adding the first APN information to a second effective APN list and effective APN lists prestored in other user identification cards, and otherwise, adding the first APN information to the second effective APN list. The second effective APN list is an effective APN list pre-stored by the terminal, the second effective APN list comprises one or more groups of APNs, and each group of APNs corresponds to network parameters of an operator. The other subscriber identity card may be any one of a SIM card, a USIM card, and a UIM card, similar to the first subscriber identity card.
It should be noted that, when adding the first APN information to the second valid APN list (or valid APN lists pre-stored in other subscriber identity cards), if the remaining capacity of the second valid APN list (or valid APN lists pre-stored in other subscriber identity cards) is sufficient for placing the first APN information, it may be selected to delete an APN message that is not commonly used in the second valid APN list (or valid APN lists pre-stored in other subscriber identity cards) so as to add the first APN information.
It should be further noted that, because the terminal adds the first APN information to the second valid APN list, after the terminal changes the subscriber identity card, the terminal can still access the wireless network according to the APN of the first APN information, thereby shortening the time period for inquiring the correct and valid APN when the terminal configures the APN parameters, and enabling the terminal to access the wireless data network quickly.
Similarly, the first APN information is added to the effective APN list in other subscriber identity cards, so that when the terminal uses the subscriber identity cards in other subscriber identity cards to surf the internet, the terminal can access a wireless network according to the APN in the first APN information in the subscriber identity card, and further the terminal can access a wireless data network quickly.
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 required to determine whether valid second APN information exists in a second valid APN list pre-stored in the terminal according to preset information of the first subscriber identity card, and if the second APN information exists in the second valid APN list, a default APN of a mobile data service of the terminal is configured according to the second APN information. The second APN information is APN information that enables the terminal to normally use a mobile data network provided by a mobile operator.
The specific implementation manner of judging whether the valid second APN information exists in a second valid APN list pre-stored in the terminal according to the preset information of the first subscriber identity card is as follows: and polling and searching in a second effective APN list according to the preset information of the first subscriber identity card to obtain APN information matched with the preset information of the first subscriber identity card, then selecting a certain APN in the obtained APN information in sequence to try to enable the terminal to access the wireless data network, if an APN capable of being effectively connected with the wireless data network is found, determining that the second APN information exists in the second effective APN list, and if the APN capable of being effectively connected with the wireless data network cannot be found, determining that the second APN information does not exist in the second effective APN list.
Optionally, in the first embodiment of the present invention, if the second valid APN list includes the second APN information, the configuration method further includes: and judging whether other user identification cards except the first user identification card exist in the terminal, if so, respectively adding the second APN information to the first effective APN list and effective APN lists prestored in other user identification cards, and otherwise, adding the second APN information to the first effective APN list.
When adding the second APN information to the first valid APN list (or valid APN lists pre-stored in other subscriber identity cards), if the remaining capacity of the first valid APN list (or valid APN lists pre-stored in other subscriber identity cards) is sufficient for placing the second APN information, it may be selected to delete an APN message that is not commonly used in the first valid APN list (or valid APN lists pre-stored in other subscriber identity cards) to add the second APN information.
It should be further noted that, because the terminal adds the second APN information to the first valid APN list, when the user inserts the first subscriber identity card into another terminal, the another terminal may access the wireless network according to the APN of the second APN information in the first valid APN list, so that the terminal (i.e., the another terminal) may access the wireless data network quickly.
Similarly, the second APN information is added to the effective APN list in other subscriber identity cards, so that when the terminal uses the subscriber identity cards in other subscriber identity cards to surf the internet, the terminal can access the wireless network according to the APN in the second APN information in the subscriber identity card, and further the terminal can access the wireless data network quickly.
Optionally, in the first embodiment of the present invention, before performing step 101, the configuring method further includes: and judging whether the terminal is currently configured with the effective APN of the mobile data service, if so, ending the process, otherwise, entering the step 101. Specifically, when the terminal is started up and started up, or when the terminal performs the mobile data service, it may be determined whether the terminal is currently configured with the valid APN of the mobile data service, and if the terminal is currently configured with the valid APN of the mobile data service, the procedure is ended, otherwise, the above step 101 is performed, so that the terminal is quickly accessed to the wireless network.
In the first embodiment of the present invention, the above configuration method is further described in two specific application examples.
In the first example of application, it is assumed that there is only one subscriber identity card in the terminal, and that this is the SIM card 1. After the terminal is powered on and started and the SIM card 1 is initialized successfully, as shown in fig. 2, the process of the terminal for APN configuration includes:
step 201, determining whether the terminal is currently configured with a valid APN of the mobile data service, if so, executing step 207, otherwise, executing step 202.
Step 202, obtaining preset information of the SIM card 1.
Step 203, determining whether valid first APN information exists in the first valid APN list in the SIM card 1, if yes, executing step 204, otherwise, executing step 205.
Step 204, configuring a default APN of the mobile data service of the terminal according to the first APN information, and adding the first APN information to a second effective APN list in the terminal.
Step 205, determining whether valid second APN information exists in a second valid APN list in the terminal, and if the valid second APN information exists, executing step 206.
Step 206, according to the second APN information, configuring a default APN of the mobile data service of the terminal, and simultaneously adding the second APN information to the first valid APN list.
And step 207, ending the process.
In the first application example, the synchronization manner of the first valid APN list and the second valid APN list is shown in fig. 3. The synchronization of the first valid APN list and the second valid APN list means that the first APN information is added to the second valid APN list and the second APN information is added to the first valid APN list.
In the second example of application, it is assumed that there are two subscriber identity cards in the terminal, SIM card 2 and SIM card 3 respectively. After the terminal is powered on and started, and the SIM card 2 and the SIM card 3 are initialized successfully, if the terminal uses the SIM card 2 to connect to the wireless network, as shown in fig. 4, the process of the terminal for APN configuration includes:
step 401, determining whether the terminal is currently configured with a valid APN of the mobile data service, if so, performing step 407, otherwise, performing step 402.
Step 402, obtaining the preset information of the SIM card 2.
Step 403, determining whether valid first APN information exists in the first valid APN list in the SIM card 2, if yes, performing step 404, otherwise, performing step 405.
Step 404, configuring a default APN of the mobile data service of the terminal according to the first APN information, and adding the first APN information to a second effective APN list in the terminal and a first effective APN list in the SIM card 3.
Step 405, determining whether valid second APN information exists in a second valid APN list in the terminal, and if the valid second APN information exists, executing step 406.
Step 406, configuring a default APN for the mobile data service of the terminal according to the second APN information, and adding 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.
Step 407, the flow ends.
In the second application example, the synchronization between the first valid APN list in the SIM card 2, the first valid APN list in the SIM card 3 and the second valid APN list in the terminal is shown in fig. 5. The synchronization of the first effective APN list in the SIM card 2 and the first effective APN list in the SIM card 3 means that the first APN information found from the first effective APN list in the SIM card 2 is added to the first effective APN list in the SIM card 3, the synchronization of the first effective APN list and the second effective APN list in the SIM card 2 means that the first APN information found from the first effective APN list in the SIM card 2 is added to the second effective APN list, and the second APN information is added to the first effective APN list in the SIM card 2, and the synchronization of the first effective APN list and the second effective APN list in the SIM card 3 means that the second APN information is added to the first effective APN list in the SIM card 3.
It should be noted that, in the second application example, after the terminal is started up and the SIM card 2 and the SIM card 3 are initialized successfully, when the terminal uses the SIM card 3 to connect to the wireless network, the process of the terminal performing APN configuration is similar to the process of the terminal performing APN configuration when the terminal uses the SIM card 2 to connect to the wireless network, and in order to avoid repetition, the process is not described herein too much.
Second embodiment
As shown in fig. 6, a second embodiment of the present invention provides an apparatus for configuring an access point name APN, including:
an obtaining module 601, configured to determine a first subscriber identity module card used by a mobile data service currently configured by a terminal, and obtain preset information of the first subscriber identity module card, where the preset information at least includes a mobile country code and a mobile network code;
a first determining module 602, configured to determine, according to preset information of a first subscriber identity card, whether valid first APN information exists in a first valid APN list pre-stored in the first subscriber identity card, and if the first APN information exists in the first valid APN list, trigger a first configuration module 603;
a first configuration module 603, configured to configure a default APN of a mobile data service of the terminal according to the trigger of the first determining module 602 and according to the first APN information.
Wherein, the configuration device further comprises:
and a second determining module, configured to determine whether the terminal is currently configured with an effective APN of the mobile data service, and if so, end the process, otherwise, trigger the obtaining module 601 to execute the step of determining the first subscriber identity module card used by the mobile data service currently configured by the terminal.
Wherein,
the second judging module includes:
and the judging unit is used for judging whether the terminal is currently configured with the effective APN of the mobile data service or not when the terminal is started and started or when the terminal carries out the mobile data service.
Wherein, the configuration device further comprises:
a third judging module, configured to judge whether valid second APN information exists in a second valid APN list prestored in the terminal according to preset information of the first subscriber identity card if the first APN information does not exist in the first valid APN list, and trigger the second configuration module if the second APN information exists in the second valid APN list;
and the second configuration module is used for configuring the default APN of the mobile data service of the terminal according to the trigger of the third judgment module and the second APN information.
Wherein, the configuration device further comprises:
and the fourth judging module is used for judging whether other subscriber identification cards except the first subscriber identification card exist in the terminal, if so, adding the first APN information into the second effective APN list and effective APN lists prestored in other subscriber identification cards respectively, and otherwise, adding the first APN information into the second effective APN list.
Wherein, the configuration device further comprises:
and the fifth judging module is used for judging whether other subscriber identification cards except the first subscriber identification card exist in the terminal, and if so, adding the second APN information into the first effective APN list and the effective APN lists prestored in the other subscriber identification cards respectively, otherwise, adding the second APN information into the first effective APN list.
In the second embodiment of the present invention, whether valid first APN information exists in a first valid APN list pre-stored in a first subscriber identity card is judged according to preset information of the first subscriber identity card, and if the valid first APN information exists, a default APN of a mobile data service of a terminal is configured according to the first APN information, so that a problem that a time period for inquiring a correct and valid APN is long when a terminal configures APN parameters is solved, which results in a long time for the terminal to access a wireless data network, and an effect of enabling the terminal to quickly access the wireless data network and improving a user internet experience is achieved.
It should be noted that the configuration device for an access point name APN provided in the second embodiment of the present invention is a configuration device for an access point name APN that applies the configuration method for an access point name APN, that is, all embodiments of the configuration method for an access point name APN are applicable to the configuration device for an access point name APN, and can achieve the same or similar beneficial effects.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A method for configuring an Access Point Name (APN), comprising:
determining a first user identification card used by a mobile data service currently configured by a terminal, and acquiring preset information of the first user identification card, wherein the preset information at least comprises a mobile country code and a mobile network code;
judging whether effective first APN information exists in a first effective APN list prestored in the first subscriber identity card or not according to preset information of the first subscriber identity card;
and if the first effective APN list has the first APN information, configuring a default APN of the mobile data service of the terminal according to the first APN information.
2. The configuration method of claim 1,
before the step of determining the first subscriber identity card used by the mobile data service currently configured by the terminal, the configuration method further includes:
and judging whether the terminal is currently configured with the effective APN of the mobile data service, if so, ending the process, otherwise, entering the step of determining the first user identification card used by the mobile data service currently configured by the terminal.
3. The configuration method of claim 2,
the step of judging whether the terminal is currently configured with the effective APN of the mobile data service comprises the following steps:
when the terminal is started up and started up, or when the terminal carries out mobile data service, whether the terminal is currently configured with the effective APN of the mobile data service is judged.
4. The method as claimed in claim 1, wherein after the step of determining whether valid first APN information exists in a first valid APN list pre-stored in the first subscriber identity card according to the preset information of the first subscriber identity card, the method further comprises:
if the first effective APN information does not exist in the first effective APN list, judging whether effective second APN information exists in a second effective APN list prestored in the terminal according to preset information of the first subscriber identity card;
and if the second APN information exists in the second effective APN list, configuring a default APN of the mobile data service of the terminal according to the second APN information.
5. The method of claim 4, wherein if the first APN information is present in the first list of valid APNs, the method further comprises:
and judging whether other subscriber identification cards except the first subscriber identification card exist in the terminal, if so, respectively adding the first APN information to the second effective APN list and an effective APN list prestored in the other subscriber identification cards, and otherwise, adding the first APN information to the second effective APN list.
6. The method of claim 4, wherein if the second APN information is present in the second list of valid APNs, the method further comprises:
and judging whether other subscriber identification cards except the first subscriber identification card exist in the terminal, if so, respectively adding the second APN information to the first effective APN list and effective APN lists prestored in the other subscriber identification cards, and otherwise, adding the second APN information to the first effective APN list.
7. An apparatus for configuring an Access Point Name (APN), comprising:
the system comprises an acquisition module, a configuration module and a configuration module, wherein the acquisition module is used for determining a first user identification card used by a mobile data service currently configured by a terminal and acquiring preset information of the first user identification card, and the preset information at least comprises a mobile country code and a mobile network code;
the first judging module is used for judging whether effective first APN information exists in a first effective APN list prestored in the first subscriber identity card according to preset information of the first subscriber identity card, and triggering a first configuration module if the first APN information exists in the first effective APN list;
and the first configuration module is used for configuring the default APN of the mobile data service of the terminal according to the trigger of the first judgment module and the first APN information.
8. The configuration apparatus of claim 7, wherein the configuration apparatus further comprises:
and the second judging module is used for judging whether the terminal is currently configured with the effective APN of the mobile data service, if so, ending the process, and otherwise, triggering the acquiring module to execute the step of determining the first subscriber identity module card used by the mobile data service currently configured by the terminal.
9. The configuration device of claim 8,
the second judging module includes:
and the judging unit is used for judging whether the terminal is currently configured with the effective APN of the mobile data service or not when the terminal is started and started or when the terminal carries out the mobile data service.
10. The configuration apparatus of claim 7, wherein the configuration apparatus further comprises:
a third determining module, configured to determine, if the first APN information does not exist in the first valid APN list, whether valid second APN information exists in a second valid APN list prestored in the terminal according to preset information of the first subscriber identity card, and trigger a second configuration module if the second APN information exists in the second valid APN list;
and the second configuration module is used for configuring the default APN of the mobile data service of the terminal according to the trigger of the third judgment module and the second APN information.
11. The configuration apparatus of claim 10, wherein the configuration apparatus further comprises:
a fourth judging module, configured to judge whether there are other subscriber identity cards other than the first subscriber identity card in the terminal, and if yes, add the first APN information to the second valid APN list and valid APN lists pre-stored in the other subscriber identity cards, otherwise, add the first APN information to the second valid APN list.
12. The configuration apparatus of claim 10, wherein the configuration apparatus further comprises:
a fifth judging module, configured to judge whether there are other subscriber identity cards other than the first subscriber identity card in the terminal, and if yes, add the second APN information to the first valid APN list and valid APN lists pre-stored in the other subscriber identity cards, otherwise, add the second APN information to the first valid APN list.
CN201610250798.4A 2016-04-21 2016-04-21 Configuration method and device of Access Point Name (APN) Active CN107306388B (en)

Priority Applications (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)
PCT/CN2016/082516 WO2017181465A1 (en) 2016-04-21 2016-05-18 Access point name configuration method and device

Applications Claiming Priority (1)

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)

Publications (2)

Publication Number Publication Date
CN107306388A true CN107306388A (en) 2017-10-31
CN107306388B CN107306388B (en) 2021-07-27

Family

ID=60115466

Family Applications (1)

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

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156600A (en) * 2017-12-20 2018-06-12 中国移动通信集团江苏有限公司 Method, apparatus, equipment and the medium that Internet of Things network interface card APN is automatically configured
CN109195200A (en) * 2018-08-27 2019-01-11 京信通信系统(中国)有限公司 APN distribution method, device, communication equipment and system
CN112074001A (en) * 2020-08-27 2020-12-11 展讯半导体(成都)有限公司 Network access method and communication device
CN112469106A (en) * 2019-09-06 2021-03-09 中兴通讯股份有限公司 Configuration method and device of access point name and readable storage medium
CN112468315A (en) * 2020-11-03 2021-03-09 上海中觅通信技术有限公司 APN configuration method and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826967A (en) * 2009-11-25 2010-09-08 华为终端有限公司 Data card and dial-up networking method
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN102281612A (en) * 2011-07-13 2011-12-14 华为终端有限公司 Method and device for realizing automatic dialing by access point
CN103813295A (en) * 2012-11-13 2014-05-21 中兴通讯股份有限公司 Method and device for automatically configuring and updating access point name parameters
CN104602363A (en) * 2014-12-25 2015-05-06 联想(北京)有限公司 Electronic equipment and APN information updating method thereof
CN105517104A (en) * 2015-12-09 2016-04-20 中国联合网络通信集团有限公司 Terminal and method for establishing network connection through APN by terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761913B2 (en) * 2005-01-24 2010-07-20 Telefonaktiebolaget L M Ericsson (Publ) Method for selecting an access point name (APN) for a mobile terminal in a packet switched telecommunications network
US9031547B2 (en) * 2012-07-27 2015-05-12 Apple Inc. Using access technology and location information to smartly initiate bearer independent protocol sessions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826967A (en) * 2009-11-25 2010-09-08 华为终端有限公司 Data card and dial-up networking method
CN102006210A (en) * 2010-11-26 2011-04-06 华为终端有限公司 User equipment dial-up networking method, device and system
CN102281612A (en) * 2011-07-13 2011-12-14 华为终端有限公司 Method and device for realizing automatic dialing by access point
CN103813295A (en) * 2012-11-13 2014-05-21 中兴通讯股份有限公司 Method and device for automatically configuring and updating access point name parameters
CN104602363A (en) * 2014-12-25 2015-05-06 联想(北京)有限公司 Electronic equipment and APN information updating method thereof
CN105517104A (en) * 2015-12-09 2016-04-20 中国联合网络通信集团有限公司 Terminal and method for establishing network connection through APN by terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156600A (en) * 2017-12-20 2018-06-12 中国移动通信集团江苏有限公司 Method, apparatus, equipment and the medium that Internet of Things network interface card APN is automatically configured
CN109195200A (en) * 2018-08-27 2019-01-11 京信通信系统(中国)有限公司 APN distribution method, device, communication equipment and system
CN109195200B (en) * 2018-08-27 2021-01-15 京信通信系统(中国)有限公司 APN allocation method, device, communication equipment and system
CN112469106A (en) * 2019-09-06 2021-03-09 中兴通讯股份有限公司 Configuration method and device of access point name and readable storage medium
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

Also Published As

Publication number Publication date
WO2017181465A1 (en) 2017-10-26
CN107306388B (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN107306388B (en) Configuration method and device of Access Point Name (APN)
CN102638797B (en) Access the method for wireless network, terminal, access network node and authentication server
CN108282845B (en) Network access method and mobile communication terminal
EP3193538A1 (en) Network access method, mobile communication terminal, network server, and network access system
WO2017000830A1 (en) Cross-terminal login-free method and device
CN105516960B (en) Non-perception authentication method and system, and management method and system based on method and system
WO2016173372A1 (en) Network access method and mobile communications terminal
EP3136761A1 (en) Method, device, and system for dynamically binding a smart card
CN107371234B (en) Registration method, device and terminal
WO2016202293A1 (en) Network access method and mobile terminal
EP3188532A1 (en) Network access method and mobile terminal
CN110769442B (en) Method and device for accessing router and Internet of things equipment
CN103533592B (en) Multimode terminal and communication means
CN105393603A (en) Method for selecting public land mobile network (PLMN), and apparatus and device thereof
US20170127371A1 (en) Method for Updating RPLMN Information and User Equipment
EP3468260B1 (en) Method and device for reducing power consumption of terminal, and smart card
CN108307479B (en) Communication module, network distribution method and device thereof, storage medium, equipment and terminal
CN107613471A (en) A kind of WIFI hot spot information-pushing method, method of reseptance and device
CN101557578A (en) Method and terminal for automatically recognizing and setting dialing parameters
CN106604358B (en) Method and device for adaptively selecting data network
CN107426718A (en) A kind of mobile terminal and its APN update method
CN110621049B (en) Communication method and device of dual-mode terminal and dual-mode terminal
CN104754670A (en) Network switching method and device for multimode card terminal
CN108271145B (en) Method and equipment for registering network based on multiple cards
CN105848251B (en) Hotspot access method, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant