CN105517104B - Terminal establishes the method and terminal of network connection by APN - Google Patents
Terminal establishes the method and terminal of network connection by APN Download PDFInfo
- Publication number
- CN105517104B CN105517104B CN201510906386.7A CN201510906386A CN105517104B CN 105517104 B CN105517104 B CN 105517104B CN 201510906386 A CN201510906386 A CN 201510906386A CN 105517104 B CN105517104 B CN 105517104B
- Authority
- CN
- China
- Prior art keywords
- information
- ehplmn
- terminal
- operator
- apn
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000010586 diagram Methods 0.000 description 6
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/14—Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/17—Selecting a data network PoA [Point of Attachment]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of terminals to establish the method and terminal that are connected to the network by APN, and method includes: that terminal reads EF from usim cardEHPLMNFile, the EFEHPLMNKnown operator equity home network EHPLMN information is stored in file, wherein EHPLMN information is known and with the corresponding identical APN of home public land mobile network network HPLMN the other PLMN information being stored in usim card;The terminal is according to known operator EHPLMN acquisition of information APN information corresponding with the known operator EHPLMN information;The terminal establishes network connection according to the corresponding APN information of the known operator EHPLMN information.The case where after avoiding operator's PLMN dilatation, preset list will not update therewith in terminal, can not find corresponding PLMN in preset APN list makes terminal not be available the case where APN foundation is connected to the network.
Description
Technical field
The present invention relates to fields of communication technology more particularly to a kind of terminal to establish the method being connected to the network and end by APN
End.
Background technique
Access point name (Access Point Name, abbreviation: APN) is the basic configuration ginseng of mobile network data business
One of number, different APN identify the mode that terminal access network uses data service.
The existing method for establishing network connection by APN, usually first obtains APN, use and operation after acquisition
The corresponding APN of quotient surfs the Internet.Existing APN configuration method, the usually public land of preset all operators of the country in the terminal
Corresponding relationship between ground mobile network (Public Land Mobile Network, abbreviation: PLMN) and APN.Each operation
Quotient usually has more than one PLMN, therefore will appear the case where multiple PLMN correspond to same group of APN.The whole world is used in user
After family identification card (Universal Subscriber Identity Module, abbreviation: USIM) card is put into terminal, terminal can be with
International mobile subscriber identity (International Mobile Subscriber is read from specified file
Identification Number, abbreviation: IMSI), pass through IMSI former readings operator PLMN, i.e. Home PLMN, then root
According to list lookup preset in terminal to corresponding APN, and APN is selected, guarantee user using connection network and uses data industry
Business.
But with the increase of number of users, if original PLMN is not enough to accommodate, it is likely that increase new PLMN, by
Preset list will not update therewith in terminal, just appear in the case where can not find corresponding PLMN in preset APN list, that
Terminal will be unable to be established using APN and be connected to the network.
Summary of the invention
The present invention provides the method and terminal that a kind of terminal establishes network connection by APN, avoid in the prior art, due to
PLMN dilatation, the terminal of appearance will be unable to establish the technical issues of being connected to the network using APN.
One aspect of the present invention provides a kind of method that terminal establishes network connection by APN, comprising:
Terminal reads EF from usim cardEHPLMNFile, the EFEHPLMNKnown operator equity is stored in file to return
Belong to network EHPLMN information, wherein EHPLMN information is known and corresponding with the operator PLMN phase being stored in usim card
With the information of APN;
The terminal is believed according to the known operator EHPLMN acquisition of information and the known operator EHPLMN
Cease corresponding APN information;
The terminal establishes network connection according to the corresponding APN information of the known operator EHPLMN information.
Another aspect of the present invention provides a kind of terminal, comprising:
First read module, first read module from usim card for reading EFEHPLMNFile, the EFEHPLMN
Known operator's EHPLMN information is stored in file, wherein EHPLMN information be stored in known in usim card and
With the information of the corresponding identical APN of operator PLMN;
First enquiry module, first enquiry module be used for according to the known operator EHPLMN acquisition of information with
The corresponding APN information of operator's EHPLMN information known to described;
First link block, first link block are used for corresponding according to the known operator EHPLMN information
APN information establishes network connection.
A kind of terminal provided by the invention establishes the method and terminal of network connection by APN, by known operator
EHPLMN information is preset at the EF in usim cardEHPLMNIn file, by reading EFEHPLMNFile, according to known operator
EHPLMN acquisition of information APN information corresponding with the known operator EHPLMN information;And according to the known fortune
It seeks the corresponding APN information of quotient EHPLMN information and establishes network connection.Realizing does not include newly-increased fortune in the list of terminal preset
When seeking quotient PLMN and APN corresponding informance, by inquiring the APN information of the known operator EHPLMN acquisition of information operator,
And network connection is established by above-mentioned APN.Terminal caused by avoiding after operator's PLMN dilatation is not available APN and establishes net
The case where network connects.
Detailed description of the invention
Fig. 1 is the flow chart for the method that the terminal that the embodiment of the present invention one provides establishes network connection by APN;
Fig. 2 is the flow chart for the method that terminal provided by Embodiment 2 of the present invention establishes network connection by APN;
Fig. 3 is the flow chart for the method that the terminal that the embodiment of the present invention three provides establishes network connection by APN;
Fig. 4 is the flow chart for the method that the terminal that the embodiment of the present invention four provides establishes network connection by APN;
Fig. 5 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram for the terminal that the embodiment of the present invention seven provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is the flow chart for the method that the terminal that the embodiment of the present invention one provides establishes network connection by APN, such as Fig. 1
Shown, the method for the present embodiment may include:
Step 101, terminal reads EF from usim cardEHPLMNFile, the EFEHPLMNKnown operation is stored in file
Quotient's equity home network (Equivalent Home PLMN, abbreviation: EHPLMN) information, wherein EHPLMN information is to be stored in
Known in usim card and with home public land mobile network network (Home Public Land Mobile Network, contracting
Write: HPLMN) other PLMN information of corresponding identical APN;
Specifically, EFEHPLMNFile is to be stored in usim card to be stored with the basic of known operator EHPLMN information
File (Elementary File, abbreviation: EF).EHPLMN information is that operator is announced reciprocity with operator PLMN information
Information, and with the information of the corresponding identical APN of operator PLMN.
Optionally, terminal can read EF by Cu interface from usim cardEHPLMNFile.Wherein, Cu interface be terminal with
Interface between usim card, Cu interface use standard interface.
Correspondingly, needing the announced PLMN of operator being preset at EF in usim cardEHPLMNIn file.
Step 102, the terminal is according to the known operator EHPLMN acquisition of information and the known operator
The corresponding APN information of EHPLMN information;
Step 103, the terminal is established network according to the corresponding APN information of the known operator EHPLMN information and is connected
It connects.
Specifically, the corresponding APN information of the known operator EHPLMN information is corresponding as HPLMN in usim card
The information of identical APN, and established and be connected to the network by above-mentioned APN information.
In embodiment, known operator EHPLMN information is preset at the EF in usim cardEHPLMNIn file, pass through reading
Take EFEHPLMNFile, it is corresponding with the known operator EHPLMN information according to known operator EHPLMN acquisition of information
APN information;And network connection is established according to the corresponding APN information of the known operator EHPLMN information.Realize end
It holds when not including newly-increased operator PLMN and APN corresponding informance in preset list, passes through and inquire known operator
The APN information of the EHPLMN acquisition of information operator, and network connection is established by above-mentioned APN.Avoid operator PLMN
Terminal caused by after dilatation is not available the case where APN foundation is connected to the network.
Embodiment two
Fig. 2 is the flow chart for the method that terminal provided by Embodiment 2 of the present invention establishes network connection by APN, such as Fig. 2
Shown, the present embodiment on the basis of example 1, further limits embodiment one, and the method for the present embodiment can wrap
It includes:
Step 201, terminal EF from usim cardIMSIIMSI information is obtained in file;
Specifically, EFIMSIFile is the file for being stored with IMSI information being stored in usim card.
Step 202, the terminal obtains the operator PLMN according to the IMSI information;
Specifically, IMSI information includes mobile national number MCC, mobile network No. MNC, mobile client identification code MSIN.
PLMN=MCC+MNC, such as the PLMN of China Mobile is 46000, the PLMN of China Unicom is 46001.Wherein, it is obtained from IMSI
The operator PLMN taken is user attaching PLMN information corresponding with USIM.
Step 203, the terminal is believed according to the corresponding APN of the operator PLMN is searched in list preset in terminal
Breath;
Specifically, be previously provided in terminal for store operator PLMN with the corresponding APN information of operator PLMN
Between relationship list.List when terminal is dispatched from the factory it is preset in the terminal, including multiple operator PLMN and multiple operators
Relationship between the corresponding APN of PLMN.After usim card is inserted into terminal, terminal is according to the operator in the usim card of acquisition
PLMN searches the corresponding APN information of the operator PLMN in preset list.
Step 204, if the terminal does not find the corresponding APN letter of the operator PLMN in the preset list
Breath, thens follow the steps 205.
Step 205, terminal reads EF from usim cardEHPLMNFile, the EFEHPLMNKnown operation is stored in file
Quotient's equity home network (Equivalent Home PLMN, abbreviation: EHPLMN) information, wherein EHPLMN information is to be stored in
Known and with the corresponding identical APN of home public land mobile network network HPLMN other PLMN information in usim card;
Step 206, the terminal is according to the known operator EHPLMN acquisition of information and the known operator
The corresponding APN information of EHPLMN information;
Step 207, the terminal is established network according to the corresponding APN information of the known operator EHPLMN information and is connected
It connects.
Wherein, step 205,206 and step 207 respectively in above-described embodiment step 101,102 and step 103 phase
Together, the detailed description in embodiment one is please referred to, this embodiment is not repeated.
In embodiment, pass through the EF from usim cardIMSIIMSI information is obtained in file, obtains the operator PLMN, root
According to searching the corresponding APN information of the operator PLMN in list preset in terminal;The operator PLMN is not being found
Corresponding APN information, reads EF from usim cardEHPLMNOperator EHPLMN information known to file acquisition, passes through known fortune
Seek quotient EHPLMN acquisition of information APN information corresponding with the known operator EHPLMN information.By preset in the terminal
List realizes when not including newly-increased operator PLMN and APN corresponding informance in the list of terminal preset, by known to inquiry
The EHPLMN acquisition of information operator of operator APN information, and by above-mentioned APN establish network connection.Avoid fortune
Terminal caused by after battalion's quotient PLMN dilatation is not available the case where APN foundation is connected to the network.
Embodiment three
Fig. 3 is the flow chart for the method that the terminal that the embodiment of the present invention three provides establishes network connection by APN, such as Fig. 3
Shown, the present embodiment on the basis of example 2, further limits embodiment two, and the method for the present embodiment can wrap
It includes:
Step 301, terminal EF from usim cardIMSIIMSI information is obtained in file;
Step 302, the terminal obtains the operator PLMN according to the IMSI information;
Step 303, the terminal is believed according to the corresponding APN of the operator PLMN is searched in list preset in terminal
Breath;
Specifically, be previously provided in terminal for store operator PLMN with the corresponding APN information of operator PLMN
Between relationship list.List when terminal is dispatched from the factory it is preset in the terminal, including multiple operator PLMN and multiple operators
Relationship between the corresponding APN of PLMN.After usim card is inserted into terminal, terminal is according to the operator in the usim card of acquisition
PLMN searches the corresponding APN information of the operator PLMN in preset list.
Step 304, if the terminal finds the corresponding APN letter of the operator PLMN in the preset list
Breath, thens follow the steps 305;
Step 305, the terminal establishes network connection according to the corresponding A PN information found in the preset list.
Wherein, step 301,302 and step 203 respectively in embodiment two step 201,202 and step 203 it is identical,
The detailed description in embodiment two is please referred to, this embodiment is not repeated.
In embodiment, pass through the EF from usim cardIMSIIMSI information is obtained in file, obtains the operator PLMN, root
According to searching the corresponding APN information of the operator PLMN in list preset in terminal;If finding PLMN pairs of the operator
The APN information answered then establishes network connection according to the corresponding A PN information found in the preset list.By in terminal
Middle pre-set list realizes terminal by the APN information of the inquiry operator PLMN acquisition of information operator, and by above-mentioned
APN establishes network connection.
Example IV
Fig. 4 is the flow chart for the method that the terminal that the embodiment of the present invention four provides establishes network connection by APN, such as Fig. 4
Shown, the present embodiment on the basis of example 2, further limits embodiment two, and the method for the present embodiment can wrap
It includes:
Step 401, terminal EF from usim cardIMSIIMSI information is obtained in file;
Step 402, the terminal obtains the operator PLMN according to the IMSI information;
Step 403, the terminal is believed according to the corresponding APN of the operator PLMN is searched in list preset in terminal
Breath;
Specifically, be previously provided in terminal for store operator PLMN with the corresponding APN information of operator PLMN
Between relationship list.List when terminal is dispatched from the factory it is preset in the terminal, including multiple operator PLMN and multiple operators
Relationship between the corresponding APN of PLMN.After usim card is inserted into terminal, terminal is according to the operator in the usim card of acquisition
PLMN searches the corresponding APN information of the operator PLMN in preset list.
Step 404, if the terminal does not find the corresponding APN letter of the operator PLMN in the preset list
Breath, thens follow the steps 205.
Step 405, terminal reads EFEHPLMN file from usim card, is stored in the EFEHPLMN file known
Operator's equity home network (Equivalent Home PLMN, abbreviation: EHPLMN) information, wherein EHPLMN information is to deposit
Storage in usim card known to and with other PLMN information of the corresponding identical APN of home public land mobile network network HPLMN;
Step 406, the terminal known operator EHPLMN information according to the preset list lookup is corresponding
APN information.
When terminal does not find the corresponding APN information of the operator PLMN in preset list, pass through reading
EFEHPLMN file obtains known operator EHPLMN information, using known operator EHPLMN information in preset column
APN information corresponding with known operator EHPLMN information is inquired in table.
Step 407, the terminal is established network according to the corresponding APN information of the known operator EHPLMN information and is connected
It connects.
Wherein, step 401-405 and step 407 respectively with the step 201-205 and step 207 phase in above-described embodiment
Together, the detailed description in embodiment two is please referred to, this embodiment is not repeated.
In embodiment, pass through the EF from usim cardIMSIIMSI information is obtained in file, obtains the operator PLMN, root
According to searching the corresponding APN information of the operator PLMN in list preset in terminal;The operator PLMN is not being found
Corresponding APN information, reads EF from usim cardEHPLMNOperator EHPLMN information known to file acquisition, by preset
Known operator's EHPLMN information is inquired in list, obtains APN letter corresponding with the known operator EHPLMN information
Breath, and network connection is established using above-mentioned APN information.By pre-set list in the terminal, realize in the list of terminal preset
When not including newly-increased operator PLMN and APN corresponding informance, by inquiring known operator's EHPLMN acquisition of information fortune
The APN information of quotient is sought, and network connection is established by above-mentioned APN.Terminal caused by avoiding after operator's PLMN dilatation without
The case where method is connected to the network using APN foundation.
Embodiment five
Fig. 5 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides, as shown in figure 5, end provided in this embodiment
End may include:
First read module 1, first read module 1 from usim card for reading EFEHPLMNFile, it is described
EFEHPLMNKnown operator EHPLMN information is stored in file, wherein EHPLMN information is to be stored in usim card
Other PLMN information knowing and with the corresponding identical APN of home public land mobile network network HPLMN;
Optionally, first read module is specifically used for: EF is read from usim card by Cu interfaceEHPLMNFile.
First enquiry module 2, first enquiry module 2 are used for according to the known operator EHPLMN acquisition of information
APN information corresponding with the known operator EHPLMN information;
First link block 3, first link block 3 are used for corresponding according to the known operator EHPLMN information
APN information establish network connection.
Specifically, EFEHPLMNFile is to be stored in usim card to be stored with the basic of known operator EHPLMN information
File (Elementary File, abbreviation: EF).EHPLMN information is that operator is announced reciprocity with operator PLMN information
Information, and with the information of the corresponding identical APN of operator PLMN.
Optionally, terminal can read EF by Cu interface from usim cardEHPLMNFile.Wherein, Cu interface be terminal with
Interface between usim card, Cu interface use standard interface.
Specifically, phase is corresponded to using the corresponding APN information of the known operator EHPLMN information as operator PLMN
With the information of APN, and is established and be connected to the network by above-mentioned APN information.
Correspondingly, needing known operator EHPLMN information being preset at EF in usim cardEHPLMNIn file.
In embodiment, known operator EHPLMN information is preset at the EF in usim cardEHPLMNIn file, pass through reading
Take EFEHPLMNFile, it is corresponding with the known operator EHPLMN information according to known operator EHPLMN acquisition of information
APN information;And network connection is established according to the corresponding APN information of the known operator EHPLMN information.Realize end
It holds when not including newly-increased operator PLMN and APN corresponding informance in preset list, passes through and inquire known operator
The APN information of the EHPLMN acquisition of information operator, and network connection is established by above-mentioned APN.Avoid operator PLMN
Terminal caused by after dilatation is not available the case where APN foundation is connected to the network.
Embodiment six
Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention six provides, as shown in fig. 6, the present embodiment is in embodiment
On the basis of five, embodiment five is further limited, the terminal of the present embodiment may include:
First read module 1, first read module 1 from usim card for reading EFEHPLMNFile, it is described
EFEHPLMNKnown operator EHPLMN information is stored in file, wherein EHPLMN information is to be stored in usim card
Other PLMN information knowing and with the corresponding identical APN of home public land mobile network network HPLMN;
First enquiry module 2, first enquiry module 2 are used for according to the known operator EHPLMN acquisition of information
APN information corresponding with the known operator EHPLMN information;
First link block 3, first link block 3 are used for corresponding according to the known operator EHPLMN information
APN information establish network connection.
Terminal in the present embodiment further include: the second read module 4, second read module 4 are used in the terminal
EF is read from usim cardEHPLMNFile, the EFEHPLMNIt is stored in file before known operator EHPLMN information, from
EF in usim cardIMSIIMSI information is obtained in file;
Second read module 4 is also used to obtain the operator PLMN according to the IMSI information;
Second enquiry module 5, second enquiry module 5 are used for according to searching the operation in list preset in terminal
The corresponding APN information of quotient PLMN;
Second enquiry module 5 is also used to not find the operator in the preset list when the terminal
When the corresponding APN information of PLMN, the first read module 1 is made to read EF from usim cardEHPLMNFile.
Specifically, be previously provided in terminal for store operator PLMN with the corresponding APN information of operator PLMN
Between relationship list.List when terminal is dispatched from the factory it is preset in the terminal, including multiple operator PLMN and multiple operators
Relationship between the corresponding APN of PLMN.After usim card is inserted into terminal, terminal is according to the operator in the usim card of acquisition
PLMN searches the corresponding APN information of the operator PLMN in preset list.
Wherein, the first read module 1, the first enquiry module 2 and the first link block 3 respectively with first in embodiment five
Read module 1, the first enquiry module 2 and the first link block 3 are identical, please refer to the detailed description in embodiment five, this implementation
Example repeats no more.
In embodiment, pass through the EF from usim cardIMSIIMSI information is obtained in file, obtains the operator PLMN, root
According to searching the corresponding APN information of the operator PLMN in list preset in terminal;The operator PLMN is not being found
Corresponding APN information, reads EF from usim cardEHPLMNOperator EHPLMN information known to file acquisition, passes through known fortune
Seek quotient EHPLMN acquisition of information APN information corresponding with the known operator EHPLMN information.By preset in the terminal
List realizes when not including newly-increased operator PLMN and APN corresponding informance in the list of terminal preset, by known to inquiry
The EHPLMN acquisition of information operator of operator APN information, and by above-mentioned APN establish network connection.Avoid fortune
Terminal caused by after battalion's quotient PLMN dilatation is not available the case where APN foundation is connected to the network.
Embodiment seven
Fig. 7 is the structural schematic diagram for the terminal that the embodiment of the present invention seven provides, as shown in fig. 7, the present embodiment is in embodiment
On the basis of six, embodiment six is further limited, the terminal of the present embodiment may include:
First read module 1, first read module 1 from usim card for reading EFEHPLMNFile, it is described
EFEHPLMNKnown operator EHPLMN information is stored in file, wherein EHPLMN information is to be stored in usim card
Information knowing and with the corresponding identical APN of operator PLMN;
First enquiry module 2, first enquiry module 2 are used for according to the known operator EHPLMN acquisition of information
APN information corresponding with the known operator EHPLMN information;
First link block 3, first link block 3 are used for corresponding according to the known operator EHPLMN information
APN information establish network connection.
Second read module 4, second read module 4 are used to read EF from usim card in the terminalEHPLMNText
Part, the EFEHPLMNIt is stored in file before known operator EHPLMN information, the EF from usim cardIMSIIt is obtained in file
IMSI information;
Second read module 4 is also used to obtain the operator PLMN according to the IMSI information;
Specifically, described that the operator PLMN is obtained according to IMSI information, it is user attaching corresponding with usim card
PLMN information.
Second enquiry module 5, second enquiry module 5 are used for according to searching the operation in list preset in terminal
The corresponding APN information of quotient PLMN;
Second enquiry module 5 is also used to find the operator in the preset list in the terminal
When the corresponding APN information of PLMN, establish the first link block according to the corresponding A PN information found in the preset list
Network connection.
Specifically, be previously provided in terminal for store operator PLMN with the corresponding APN information of operator PLMN
Between relationship list.List when terminal is dispatched from the factory it is preset in the terminal, including multiple operator PLMN and multiple operators
Relationship between the corresponding APN of PLMN.After usim card is inserted into terminal, terminal is according to the operator in the usim card of acquisition
PLMN searches the corresponding APN information of the operator PLMN in preset list.
Wherein, the first read module 1, the first enquiry module 2, the first link block 3, the second read module 4 respectively with reality
The first read module 1, the first enquiry module 2, the first link block 3, the second read module 4 applied in example six are identical, please refer to
Detailed description in embodiment six, this embodiment is not repeated.
In embodiment, pass through the EF from usim cardIMSIIMSI information is obtained in file, obtains the operator PLMN, root
According to searching the corresponding APN information of the operator PLMN in list preset in terminal;If finding PLMN pairs of the operator
The APN information answered then establishes network connection according to the corresponding A PN information found in the preset list.By in terminal
Middle pre-set list realizes terminal by the APN information of the inquiry operator PLMN acquisition of information operator, and by above-mentioned
APN establishes network connection.
Embodiment eight
The present embodiment further limits embodiment six on the basis of embodiment six, referring to Fig. 6, originally
The terminal of embodiment may include:
First read module 1, first read module 1 from usim card for reading EFEHPLMNFile, it is described
EFEHPLMNKnown operator EHPLMN information is stored in file, wherein EHPLMN information is to be stored in usim card
Other PLMN information knowing and with the corresponding identical APN of home public land mobile network network HPLMN;
Preset first enquiry module 2, first enquiry module 2 are used for according to the known operator EHPLMN information
Obtain APN information corresponding with the known operator EHPLMN information;
In the present embodiment, the first enquiry module 2 is specifically used for: according to known operation described in the preset list lookup
The corresponding APN information of quotient's EHPLMN information.
First link block 3, first link block 3 are used for corresponding according to the known operator EHPLMN information
APN information establish network connection.
Second read module 4, second read module 4 are used to read EF from usim card in the terminalEHPLMNText
Part, the EFEHPLMNIt is stored in file before known operator EHPLMN information, the EF from usim cardIMSIIt is obtained in file
IMSI information;
Second read module 4 is also used to obtain the operator PLMN according to the IMSI information;
Second enquiry module 5, second enquiry module 5 are used for according to searching the operation in list preset in terminal
The corresponding APN information of quotient PLMN;
Second enquiry module 5 is also used to not find the operator in the preset list when the terminal
When the corresponding APN information of PLMN, the first read module 1 is made to read EF from usim cardEHPLMNFile.
Specifically, be previously provided in terminal for store operator PLMN with the corresponding APN information of operator PLMN
Between relationship list.List when terminal is dispatched from the factory it is preset in the terminal, including multiple operator PLMN and multiple operators
Relationship between the corresponding APN of PLMN.After usim card is inserted into terminal, terminal is according to the operator in the usim card of acquisition
PLMN searches the corresponding APN information of the operator PLMN in preset list.
When terminal does not find the corresponding APN information of the operator PLMN in preset list, pass through reading
EFEHPLMNFile obtains known operator EHPLMN information, using known operator EHPLMN information in preset list
It is middle to inquire APN information corresponding with known operator EHPLMN information.
Wherein, the first enquiry module 2, the first link block 3, the second read module 4 and the second enquiry module 5 respectively with reality
It is identical to apply the first enquiry module 2 in example seven, the first link block 3, the second read module 4 and the second enquiry module 5, please refers to
Detailed description in embodiment six, this embodiment is not repeated.
In embodiment, pass through the EF from usim cardIMSIIMSI information is obtained in file, obtains the operator PLMN, root
According to searching the corresponding APN information of the operator PLMN in list preset in terminal;The operator PLMN is not being found
Corresponding APN information, reads EF from usim cardEHPLMNOperator EHPLMN information known to file acquisition, by preset
Known operator's EHPLMN information is inquired in list, obtains APN letter corresponding with the known operator EHPLMN information
Breath, and network connection is established using above-mentioned APN information.By pre-set list in the terminal, realize in the list of terminal preset
When not including newly-increased operator PLMN and APN corresponding informance, by inquiring known operator's EHPLMN acquisition of information fortune
The APN information of quotient is sought, and network connection is established by above-mentioned APN.Terminal caused by avoiding after operator's PLMN dilatation without
The case where method is connected to the network using APN foundation.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (8)
1. a kind of method that terminal establishes network connection by APN characterized by comprising
Terminal reads EF from usim cardEHPLMNFile, the EFEHPLMNKnown operator equity home network is stored in file
Network EHPLMN information, wherein EHPLMN information be stored in known in usim card and with home public land mobile network network
HPLMN corresponds to other PLMN information of identical APN;
The terminal is according to the known operator EHPLMN acquisition of information and the known operator EHPLMN information pair
The APN information answered;
The terminal establishes network connection according to the corresponding APN information of the known operator EHPLMN information;
The terminal reads EF from usim cardEHPLMNFile, the EFEHPLMNKnown operator EHPLMN is stored in file
Information, wherein EHPLMN information is the information for known and corresponding with the operator PLMN identical APN being stored in usim card
Before, further includes:
Terminal EF from usim cardIMSIIMSI information is obtained in file;
The terminal obtains the operator PLMN according to the IMSI information;
The terminal is according to searching the corresponding APN information of the operator PLMN in list preset in terminal;
If the terminal does not find the corresponding APN information of the operator PLMN, the end in the preset list
EF is read from usim card in endEHPLMNFile.
2. the method according to claim 1, wherein if the terminal finds institute in the preset list
State the corresponding APN information of operator PLMN, then the method also includes:
The terminal establishes network connection according to the corresponding A PN information found in the preset list.
3. the method according to claim 1, wherein the terminal reads EF from usim cardEHPLMNFile, tool
Body includes:
The terminal reads EF by Cu interface from usim cardEHPLMNFile.
4. the method according to claim 1, wherein
The terminal is according to the known operator EHPLMN acquisition of information and the known operator EHPLMN information pair
The APN information answered, specifically includes:
The corresponding APN information of the terminal known operator EHPLMN information according to the preset list lookup.
5. a kind of terminal characterized by comprising
First read module, first read module from usim card for reading EFEHPLMNFile, the EFEHPLMNFile
In be stored with known operator's EHPLMN information, wherein EHPLMN information be stored in known in usim card and with this
Ground public land mobile network HPLMN corresponds to other PLMN information of identical APN;
First enquiry module, first enquiry module be used for according to the known operator EHPLMN acquisition of information with it is described
The corresponding APN information of known operator EHPLMN information;
First link block, first link block are used for according to the corresponding APN of the known operator EHPLMN information
Information establishes network connection;
Second read module, second read module are used to read EF from usim card in the terminalEHPLMNFile, it is described
EFEHPLMNIt is stored in file before known operator EHPLMN information, the EF from usim cardIMSIIMSI letter is obtained in file
Breath;
Second read module is also used to obtain the operator PLMN according to the IMSI information;
Second enquiry module, second enquiry module are used for according to searching the operator PLMN in list preset in terminal
Corresponding APN information;
Second enquiry module is also used to not find the operator PLMN in the preset list when the terminal
When corresponding APN information, the first read module is made to read EF from usim cardEHPLMNFile.
6. terminal according to claim 5, which is characterized in that
Second enquiry module is also used to find PLMN pairs of the operator in the preset list in the terminal
When the APN information answered, so that the first link block is established network according to the corresponding A PN information found in the preset list and connect
It connects.
7. terminal according to claim 5, which is characterized in that first read module is specifically used for:
EF is read from usim card by Cu interfaceEHPLMNFile.
8. terminal according to claim 5, which is characterized in that first enquiry module is specifically used for: according to described pre-
The corresponding APN information of known operator EHPLMN information described in the list lookup set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510906386.7A CN105517104B (en) | 2015-12-09 | 2015-12-09 | Terminal establishes the method and terminal of network connection by APN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510906386.7A CN105517104B (en) | 2015-12-09 | 2015-12-09 | Terminal establishes the method and terminal of network connection by APN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105517104A CN105517104A (en) | 2016-04-20 |
CN105517104B true CN105517104B (en) | 2019-02-15 |
Family
ID=55724658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510906386.7A Active CN105517104B (en) | 2015-12-09 | 2015-12-09 | Terminal establishes the method and terminal of network connection by APN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105517104B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107306388B (en) * | 2016-04-21 | 2021-07-27 | 中兴通讯股份有限公司 | Configuration method and device of Access Point Name (APN) |
CN105764044B (en) * | 2016-04-25 | 2019-03-19 | 中国联合网络通信集团有限公司 | A kind of APN configuration method and device |
CN107371234B (en) * | 2016-05-13 | 2022-09-02 | 中兴通讯股份有限公司 | Registration method, device and terminal |
CN109714808B (en) * | 2019-02-26 | 2021-06-25 | 广东小天才科技有限公司 | Data service processing method and system |
CN109890066A (en) * | 2019-03-28 | 2019-06-14 | 努比亚技术有限公司 | APN parameter configuration method, device, mobile terminal and readable storage medium storing program for executing |
CN112822755B (en) * | 2019-10-31 | 2022-05-17 | 荣耀终端有限公司 | APN matching method, terminal and storage medium |
CN113079514B (en) * | 2021-03-24 | 2023-09-08 | 深圳市广和通无线股份有限公司 | Network access verification method and device and computer readable storage medium |
CN114339961A (en) * | 2021-12-16 | 2022-04-12 | 深圳市广和通无线通信软件有限公司 | Network access method, network access device, electronic equipment, storage medium and computer program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980454A (en) * | 2005-12-02 | 2007-06-13 | 中国移动通信集团公司 | Method for selecting network in multi-network-number network |
CN102469548A (en) * | 2010-11-05 | 2012-05-23 | 中兴通讯股份有限公司 | Access handling method, device and system |
WO2014098532A1 (en) * | 2012-12-20 | 2014-06-26 | 엘지전자 주식회사 | Method for communicating in wireless communication system supporting multiple access network and apparatus supporting same |
CN104320833A (en) * | 2014-11-19 | 2015-01-28 | 成都中科创达软件有限公司 | Automatic network selecting method and system of mobile terminal |
-
2015
- 2015-12-09 CN CN201510906386.7A patent/CN105517104B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980454A (en) * | 2005-12-02 | 2007-06-13 | 中国移动通信集团公司 | Method for selecting network in multi-network-number network |
CN102469548A (en) * | 2010-11-05 | 2012-05-23 | 中兴通讯股份有限公司 | Access handling method, device and system |
WO2014098532A1 (en) * | 2012-12-20 | 2014-06-26 | 엘지전자 주식회사 | Method for communicating in wireless communication system supporting multiple access network and apparatus supporting same |
CN104320833A (en) * | 2014-11-19 | 2015-01-28 | 成都中科创达软件有限公司 | Automatic network selecting method and system of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105517104A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105517104B (en) | Terminal establishes the method and terminal of network connection by APN | |
CN104869615B (en) | Network access method and mobile communication terminal | |
CN104902547B (en) | WiFi network connection method and device | |
CN103702319B (en) | SIM (subscriber identity module) card, individualized card writing system and method as well as SIM card obtained according to method | |
CN104883704B (en) | A kind of automatic error correction method and device of mobile terminal access point parameters | |
CN107634845A (en) | The adaptation method and equipment of carrier network | |
CN104980999A (en) | Network access method and mobile terminal | |
CN106211130A (en) | The access point filter method of a kind of operator and system | |
CN104010291B (en) | Network registering method and its device and mobile terminal | |
EP3169107A1 (en) | Network access method and mobile communications terminal | |
CN102148881A (en) | Address processing method and device | |
CN105959934A (en) | Repeated network access identification method and system | |
CN105592443B (en) | Terminal name based on over the air shows update method, equipment and system | |
CN104853409B (en) | A kind of method for network access and mobile communication terminal | |
CN104320833A (en) | Automatic network selecting method and system of mobile terminal | |
CN103188638B (en) | Based on the method and system of optimum roaming list access long-term evolving network | |
CN105636016A (en) | Method, apparatus, and system for network connection | |
CN104853412B (en) | A kind of method for network access and mobile communication terminal | |
CN105912583A (en) | Member service data interaction method and device for mobile terminal | |
CN103826286B (en) | Select SIM card and the method and user equipment of public land mobile network | |
CN106255074A (en) | A kind of group's method for building up and device | |
CN204362313U (en) | A kind of multi mode multi band terminal test system | |
CN103188822A (en) | Machine communication method and device | |
CN104853308B (en) | The method and mobile communication terminal of a kind of information sharing | |
CN104902542B (en) | A kind of information sharing method and mobile communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |