CN105262888A - Access point name display method and mobile terminal - Google Patents

Access point name display method and mobile terminal Download PDF

Info

Publication number
CN105262888A
CN105262888A CN201510565826.7A CN201510565826A CN105262888A CN 105262888 A CN105262888 A CN 105262888A CN 201510565826 A CN201510565826 A CN 201510565826A CN 105262888 A CN105262888 A CN 105262888A
Authority
CN
China
Prior art keywords
apn
mobile terminal
preset
network
acquiescence
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
CN201510565826.7A
Other languages
Chinese (zh)
Other versions
CN105262888B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510565826.7A priority Critical patent/CN105262888B/en
Publication of CN105262888A publication Critical patent/CN105262888A/en
Application granted granted Critical
Publication of CN105262888B publication Critical patent/CN105262888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an access point name display method and a mobile terminal, which can guarantee the mobile terminal to access a corresponding network in a network mode through APN established by the mobile terminal in other network modes. The display method comprises the following steps that: the mobile terminal obtains a first APN supported by a first network mode, wherein the first network mode is a current network mode of the mobile terminal; the mobile terminal inquires whether a second identifier indicating a second network mode and corresponding to a first identifier exists in a preset configuration file according to the first identifier of the first network mode, wherein the first network mode and the second network mode are network modes provided by the same operator and supported by the mobile terminal; and if the second identifier exists in the configuration file, the mobile terminal displays the first APN and a first non-preset APN corresponding to the second identifier, wherein the first non-preset APN is an APN established in the second network mode. The display method is applied to APN display scenes of the mobile terminal.

Description

A kind of display packing of APN and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of APN (English: accesspointname, abbreviation: display packing APN) and mobile terminal.
Background technology
Along with the development of the communication technology, because client identification module is (English: subscriberidentitymodule, abbreviation: SIM card) network schemer supported gets more and more, and the network schemer of the mobile terminal support being provided with SIM card is also got more and more, it is (English: 3rd-generationmobilecommunicationtechnology that such as mobile terminal both can support to adopt G mobile communication, abbreviation: the 3G) network schemer (hereinafter referred to as 3G network pattern) of technology, also can support to adopt forth generation mobile communication technology (English: the4thgenerationmobilecommunicationtechnology, abbreviation: the 4G) network schemer (hereinafter referred to as 4G network schemer) of technology.
When mobile terminal need access certain network, it need could access this network by the access technology corresponding with this network usually.At certain network schemer, the APN that user can manually optional m igration terminal show arranges the access technology that mobile terminal uses.In a kind of possible application scenarios, at certain network schemer, if mobile terminal needs access of virtual special dialing network (English: virtualprivatedial-upnetworks, abbreviation: VPDN), user first triggering mobile terminals can set up an APN corresponding with VPDN, and then in the APN of mobile terminal display, manually select this APN to make mobile terminal access VPDN by this APN.Heterogeneous networks pattern due to different operators may have different Mobile Country Code MCCs (English: mobilecountrycode, abbreviation: MCC) and Mobile Network Code (English: mobilenetworkcode, abbreviation: MNC), therefore mobile terminal distinguishes the heterogeneous networks pattern of different operators usually according to MCC+MNC.Wherein, APN mobile terminal shown comprises preset APN and non-preset APN (non-preset APN is the APN that mobile terminal is set up).
Exemplary, when supposing that mobile terminal is in 3G network pattern, if mobile terminal need access VPDN, then mobile terminal can set up an APN1 corresponding with VPDN, thus the APN1 that user can manually optional m igration terminal show, make mobile terminal adopt APN1 to access VPDN in 3G network pattern.But, for some operator, when mobile terminal is switched to 4G network schemer from 3G network pattern, because 3G network pattern is different with the MCC+MNC of 4G network schemer, therefore mobile terminal can mask the APN of 3G network pattern, can only show the APN of 4G network schemer, namely mobile terminal cannot show the APN1 of mobile terminal at 3G network Model Establishment.That is, after handover network pattern, user may be caused to can not find the APN set up at former network schemer, thus the corresponding network of other network schemers can not be accessed by this APN easily and fast.
Summary of the invention
Embodiments of the invention provide a kind of display packing and mobile terminal of APN, can ensure the APN that mobile terminal is set up at other network schemers at a network schemer display mobile terminal.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of display packing of APN, is applied in mobile terminal, and this display packing comprises:
The APN that described acquisition for mobile terminal first network pattern is supported, described first network pattern is the current residing network schemer of described mobile terminal;
Described mobile terminal is according to the first mark of described first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with described first and identify, described second mark is used to indicate second network pattern, the network schemer that described first network pattern and described second network pattern provide for same operator that described mobile terminal is supported;
If there is described second mark in described configuration file, then described mobile terminal shows a described APN and identifies the first corresponding non-preset APN with described second, and described first non-preset APN is the APN of described mobile terminal at described second network Model Establishment.
Second aspect, the embodiment of the present invention provides a kind of mobile terminal, and this mobile terminal comprises:
Acquiring unit, for obtaining the first APN APN that first network pattern is supported, described first network pattern is the current residing network schemer of described mobile terminal;
Query unit, for the first mark according to described first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with described first and identify, described second mark is used to indicate second network pattern, the network schemer that described first network pattern and described second network pattern provide for same operator that described mobile terminal is supported;
Display unit, if inquire in described configuration file for described query unit and have described second mark, then show a described APN of described acquiring unit acquisition and identify the first corresponding non-preset APN with described second, described first non-preset APN is the APN of described mobile terminal at described second network Model Establishment.
The embodiment of the present invention provides a kind of display packing and mobile terminal of APN, and this display packing comprises: the APN that acquisition for mobile terminal first network pattern is supported, first network pattern is the current residing network schemer of mobile terminal; Mobile terminal is according to the first mark of first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with first and identify, second mark is used to indicate second network pattern, the network schemer that the same operator that first network pattern and second network pattern are mobile terminal support provides; If there is the second mark in configuration file, then mobile terminal shows an APN and identifies the first corresponding non-preset APN with second, and the first non-preset APN is the APN of mobile terminal at second network Model Establishment.
Based on technique scheme, when mobile terminal needs display APN, first mobile terminal obtains the APN that its current residing first network pattern is supported, then due to preserve the network schemer that same operator provides in configuration file mark between corresponding relation, if therefore mobile terminal is identified in configuration file to inquire according to first and identifies corresponding second with first and identify, then mobile terminal shows an APN and mobile terminal the first non-preset APN at second network Model Establishment simultaneously, thus can to avoid in prior art after the non-preset APN of second network Model Establishment first, if mobile terminal is switched to first network pattern, mobile terminal cannot show the problem of this first non-preset APN, therefore, compared with prior art, the display packing of the APN that the embodiment of the present invention provides, can when mobile terminal be in a network schemer, the non-preset APN that the APN that this network schemer can be supported and mobile terminal are set up at other network schemers shows simultaneously, and then make user can select identical non-preset APN in heterogeneous networks pattern, thus can ensure that the non-preset APN that mobile terminal still can be set up at other network schemers by mobile terminal at a network schemer accesses corresponding network.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing in the following describes is only some embodiments of the present invention.
The flow chart one of the display packing of the APN that Fig. 1 provides for the embodiment of the present invention;
The flowchart 2 of the display packing of the APN that Fig. 2 provides for the embodiment of the present invention;
The flow chart 3 of the display packing of the APN that Fig. 3 provides for the embodiment of the present invention;
The flow chart four of the display packing of the APN that Fig. 4 provides for the embodiment of the present invention;
The flow chart five of the display packing of the APN that Fig. 5 provides for the embodiment of the present invention;
The flow chart six of the display packing of the APN that Fig. 6 provides for the embodiment of the present invention;
The structural representation one of the mobile terminal that Fig. 7 provides for the embodiment of the present invention;
The structural representation two of the mobile terminal that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Character "/" herein, general represent forward-backward correlation to as if a kind of " or " relation.Such as, A/B can be understood as A or B.
Term " first " and " second " etc. in specification of the present invention and claims are for distinguishing different objects, instead of for the particular order of description object.Such as, first network pattern and second network pattern etc. are for distinguishing different network schemers, instead of for describing the characteristic sequence of network schemer.
In addition, the term mentioned in description of the invention " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise other step do not listed or unit alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
In below describing, in order to illustrate instead of in order to limit, propose the detail of such as particular system structure, interface, technology and so on, understand the present invention thoroughly to cut.But, it will be clear to one skilled in the art that and also can realize the present invention in other embodiment not having these details.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders description of the invention.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The display packing of a kind of APN that the embodiment of the present invention provides and mobile terminal, can be applied to user and select when mobile terminal is in certain network schemer in the scene of the APN accessing certain network.In the display packing of the APN that the embodiment of the present invention provides and mobile terminal, the APN that can show the current residing network schemer support of mobile terminal due to mobile terminal (comprises the preset APN that this network schemer is supported, or the preset APN of this network schemer support and the non-preset APN set up at this network schemer) and the non-preset APN that sets up at other network schemers of mobile terminal, therefore user can at the identical non-preset APN of heterogeneous networks model selection, thus can ensure that mobile terminal can access corresponding network by same non-preset APN in heterogeneous networks pattern, and then ensure that mobile terminal carries out corresponding business.Further, Consumer's Experience sense can be promoted, the APN making user can not find to have set up suddenly disappears after handover network pattern, and in order to access corresponding network, not needing to rebuild one again at new network schemer and configuring identical APN` with the APN set up at former network schemer.
Exemplary, suppose at certain network schemer, user needs triggering mobile terminals to access VPDN, so user first triggering mobile terminals set up a non-preset APN corresponding with VPDN, and then this non-preset APN is selected in the APN of mobile terminal display, thus make mobile terminal access VPDN by this non-preset APN, and then complete corresponding VPDN business.When mobile terminal is switched to other network schemers from this network schemer, the display packing of the APN provided due to the embodiment of the present invention still can show the non-preset APN that mobile terminal is set up at this network schemer, therefore user manually can select this non-preset APN, make mobile terminal still can access VPDN by this non-preset APN at other network schemers, and then continue corresponding VPDN business at other network schemers.
It should be noted that, in the embodiment of the present invention, mobile terminal is accessed on the basis that corresponding network needs data switch on mobile terminals to open by APN and realizes.Wherein, can trigger by user the data switch opened on mobile terminal.
The executive agent of the display packing of the APN that the embodiment of the present invention provides can be mobile terminal, and this mobile terminal other can perform the terminal of the display packing of the APN that the embodiment of the present invention provides for smart mobile phone, panel computer or intelligent hand-held terminal etc.
Embodiment one
As shown in Figure 1, the embodiment of the present invention provides a kind of display packing of APN, and this display packing can be applied in mobile terminal, and this display packing can comprise:
The APN that S101, acquisition for mobile terminal first network pattern are supported, first network pattern is the current residing network schemer of mobile terminal.
In the display packing of the APN that the embodiment of the present invention provides, mobile terminal is when certain network schemer shows the APN of this network schemer support, and first mobile terminal needs to obtain this APN, the APN that such as acquisition for mobile terminal first network pattern is supported.Wherein, first network pattern is the current residing network schemer of mobile terminal.
For example, if the current access 3G network of mobile terminal, so the current residing network schemer of mobile terminal is 3G network pattern; Accordingly, if mobile terminal current access 4G network, so the current residing network schemer of mobile terminal is 4G network schemer.
Wherein, in practical application, each network that operator provides all has a network schemer, such as 3G network pattern or 4G network schemer.Even if the network that different operators provides is identical, but the SIM card provided to distinguish different operators can access the network that this operator provides, and usually distinguishes different network schemers with MCC+MNC.Such as MCC+MNC can distinguish the network schemer of the identical network that different operators provides, and also can distinguish the network schemer of the heterogeneous networks that different operators provides, and can also distinguish the network schemer of the heterogeneous networks that same operator provides.
In the embodiment of the present invention, because SIM card is installed in the terminal usually, therefore the network of SIM card access and the network schemer of support also can think the network schemer of the network that mobile terminal accesses and support.In order to the display packing of the APN that the clearer description embodiment of the present invention provides, be all described with the network schemer of the network of mobile terminal access and support in the embodiment of the present invention.
Mobile terminal is provided with to the situation of the SIM card of more than two or two, because every SIM card works alone, therefore, when every SIM card work, can think that the network schemer of the network that this SIM card accesses and support is the network of the current access of mobile terminal and the network schemer of support.
Optionally, in the embodiment of the present invention, an APN of above-mentioned first network pattern support can comprise the first preset APN of first network pattern support.
Optionally, in the embodiment of the present invention, an APN of above-mentioned first network pattern support can comprise the non-preset APN of the first preset APN second, and wherein, the second non-preset APN is the APN of mobile terminal at first network Model Establishment.
In the embodiment of the present invention, the preset APN of each network schemer support is and pre-sets in APN database, and the concrete network schemer that can provide according to physical operator and this operator is arranged, and the present invention is not construed as limiting.The non-preset APN of each network schemer support is after user's triggering mobile terminals sets up a new APN, and mobile terminal is saved in APN database, and non-preset APN specifically can be arranged according to the actual user demand of user, and the present invention is not construed as limiting.
Exemplary, suppose that operator A supports two kinds of network schemers, be respectively 3G network pattern and 4G network schemer, then the preset APN that 3G network pattern is supported can be the preset APN that ctnet or ctwap, 4G network schemer is supported can be ctlte.
In the embodiment of the present invention, can pass through in APN database, to add a field, for distinguishing preset APN and non-preset APN.Such as, because APN database is normally imported by apns-conf.xml file, therefore when preset APN to the apns-conf.xml file that each network schemer that each operator preset provides is supported, an is_default field can be added respectively for each preset APN, and be true by its assignment, for representing that these APN are preset APN; When mobile terminal is at the newly-built APN of certain network schemer (i.e. non-preset APN), be saved in the process of APN database at this APN, an is_default field can be inserted for this APN, and be false by its assignment, for representing that this APN is non-preset APN.Certainly, the assignment of the above-mentioned method of interpolation field, the title of field and field is all distinguish preset APN to the embodiment of the present invention and non-preset APN carries out exemplary explanation, the embodiment of the present invention can also distinguish preset APN and non-preset APN by additive method, does not do concrete restriction herein.
The display packing of the APN that the embodiment of the present invention provides, at certain network schemer, if user needs triggering mobile terminals to access certain network carry out corresponding business, such as access VPDN and carry out VPDN business, then first user needs triggering mobile terminals to set up a non-preset APN1 at this network schemer, then mobile terminal again when showing APN the APN (the preset APN comprising this network schemer support and the non-preset APN set up at this network schemer) that simultaneously this network schemer supported and this non-preset APN1 all show, thus user manually can select this non-preset APN1 in the APN of mobile terminal display, mobile terminal is made to access VPDN by this non-preset APN1, and then complete VPDN business.When mobile terminal is switched to other network schemers from this network schemer, mobile terminal is when showing APN, the APN (the preset APN comprising other network schemer supports and the non-preset APN set up at other network schemers) that other network schemers can be supported and the non-preset APN1 of this network schemer support shows simultaneously, thus user still can select this non-preset APN1 at other network schemers, and then ensure that mobile terminal can by identical non-preset APN at different network schemers, namely APN1 accesses VPDN, completes VPDN business.
VPDN is Virtual Private Network (English: virtualprivatenetwork, abbreviation: the VPN) one of business is the Virtual Private Dialup Network business based on dial user.Namely surf the Net in dial-up access mode, utilize Internet Protocol (English: Internetprotocol, abbreviation: the IP) Virtual Private Network of safety that gets up in conjunction with corresponding authentication and authorization Mechanism establishing of the bearing function of network is a kind of technology developed rapidly along with the development of internet in recent years.
The specific implementation of VPDN adopts tunneling technique, and the data encapsulation by enterprise network is transmitted in tunnel.The basic process of tunneling technique is encapsulated in a kind of data format that can transmit on the internet at the interface of source local area network (LAN) and internet as load using data, and the interface in object local area network (LAN) and internet, by data decapsulation, takes out load.When packed packet transmits on the internet the logical path of process be called as in " tunnel ".Ensure data successfully packed, transmit and decapsulation, its communication protocol adopted is core.
Such as, VPDN is the Virtual Private Dialup Network business based on dial-up access, can be used for cross-region conglomerate in-house network, Specialty Information Service provider private network, financial popular service network, bank access service network etc.
S102, mobile terminal are according to the first mark of first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with first and identify, second mark is used to indicate second network pattern, the network schemer that the same operator that first network pattern and second network pattern are mobile terminal support provides.
In the display packing of the APN that the embodiment of the present invention provides, a configuration file can be pre-set, the mark of the network schemer that each operator that can support for preserving mobile terminal provides, the first mark as escribed above and the second mark.
It should be noted that, the embodiment of the present invention does not limit the execution sequence of S101 and S102.Namely the embodiment of the present invention first can perform S101, rear execution S102; Also first S102 can be held, rear execution S101; S101 and S102 can also be performed simultaneously.
Optionally, in the embodiment of the present invention, above-mentioned first mark can be the MCC+MNC of first network pattern; Second mark can be the MCC+MNC of second network pattern.
Optionally, first mark can also by other any can unique identification first network pattern mark realize; Second mark also can by other any can unique identification second network pattern mark realize, concrete can be arranged according to the development of practical communication technology and user demand, and the present invention does not do concrete restriction.
Exemplary, suppose that mobile terminal can support operator A and B Liang Ge operator of operator, operator A can provide 3G network pattern and 4G network schemer two kinds of network schemers, and operator B can provide 3G network pattern a kind of network schemer.The MCC+MNC of a kind of network schemer that the MCC+MNC of two kinds of network schemers that operator A provides and operator B provides can be preserved in the configuration file that the embodiment of the present invention provides.Wherein, although operator A and operator B all provides 3G network pattern, but because operator A and operator B is different operator, therefore the MCC+MNC of 3G network pattern that provides of operator A is not identical with the MCC+MNC of the 3G network pattern that operator B provides.
Optionally, in order to realize conveniently, the configuration file that the embodiment of the present invention provides can be realized by the form of list, such as, the configuration file that the embodiment of the present invention provides can be PLMN (English: publiclandmobilenetwork, abbreviation: PLMN) list.Concrete, can comprise in this PLMN list above-mentioned first mark and second identify between corresponding relation.
For example, as shown in table 1, be a kind of possible implementation of the PLMN list that the embodiment of the present invention provides.
Table 1
As shown in Table 1 above, suppose that first network pattern is 3G network pattern, then first of first network pattern be designated 46003, whether mobile terminal is inquired about in Table 1 to have and to be identified corresponding second with first and identify, because the second mark instruction second network pattern, and the network schemer that the same operator that first network pattern and second network pattern are mobile terminal support provides, so mobile terminal can inquire in Table 1 and identify 46003 corresponding second with first and identify 46011.
It should be noted that, PLMN row tableau format/form shown in above-mentioned table 1 is only that the display packing of APN in order to provide the embodiment of the present invention carries out exemplary explanation, namely PLMN row tableau format/form that the embodiment of the present invention provides can also be that other meet arbitrarily the listings format/form of embodiment of the present invention demand, and the present invention does not do concrete restriction.
Certainly, it is form that the embodiment of the present invention does not limit configuration file yet, and namely configuration file can be the implementation of the MCC+MNC of the network schemer that each operator that other can preserve arbitrarily mobile terminal support provides, and the present invention does not do concrete restriction.
If there is the second mark in S103 configuration file, then mobile terminal shows an APN and identifies the first corresponding non-preset APN with second, and the first non-preset APN is the APN of mobile terminal at second network Model Establishment.
If mobile terminal finds and to identify corresponding second with first and identify in configuration file, so represent two kinds of network schemers that mobile terminal can support same operator to provide, then when mobile terminal is when showing the APN that this network schemer is supported, mobile terminal not only can show the APN (the preset APN comprising this network schemer support and the non-preset APN set up at this network schemer) that this network schemer is supported, the non-preset APN that other network schemers are supported can also be shown, the i.e. non-preset APN that sets up at other network schemers of mobile terminal, such as mobile terminal is at the first non-preset APN of second network Model Establishment.
In first network pattern, as mobile terminal display APN, mobile terminal can show an APN (comprising the first preset APN or the first preset APN and the second non-preset APN) and the first non-preset APN.Suppose that mobile terminal is when second network pattern, mobile terminal accesses certain network by the first non-preset APN, and after mobile terminal is switched to first network pattern from second network pattern, because mobile terminal still can be presented at the first non-preset APN of second network Model Establishment, therefore user can continue the non-preset APN of selection first, thus mobile terminal still can access corresponding network by the first non-preset APN in first network pattern, and then carry out corresponding business, so can ensure that mobile terminal still can access corresponding network by the non-preset APN set up at another network schemer at a network schemer, namely mobile terminal can access corresponding network by identical non-preset APN at different network schemers, thus the business demand of mobile terminal can be ensured.
Optionally, in the embodiment of the present invention, the quantity of above-mentioned second mark can be at least one.When the quantity of the second mark is one, represent two kinds of network schemers that mobile terminal can support same operator to provide; When the quantity of the second mark is two or more, the multiple network pattern that mobile terminal can support same operator to provide, concrete first mark and second that can arrange in configuration file according to practical application identifies, and the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, after S102, if mobile terminal does not find and to identify corresponding second with first and identify in configuration file, so represent that mobile terminal can only support a kind of network schemer that an operator provides, therefore, mobile terminal only need show an APN.
The display packing of the APN that the embodiment of the present invention provides, when mobile terminal needs display APN, the APN that first mobile terminal obtains its current residing first network pattern support (comprises the preset APN that this network schemer is supported, or the preset APN of this network schemer support and the non-preset APN set up at this network schemer), then due to preserve the network schemer that same operator provides in configuration file mark between corresponding relation, if therefore mobile terminal is identified in configuration file to inquire according to first and identifies corresponding second with first and identify, then mobile terminal shows an APN and mobile terminal the first non-preset APN at second network Model Establishment simultaneously, thus can to avoid in prior art after the non-preset APN of second network Model Establishment first, if mobile terminal is switched to first network pattern, mobile terminal cannot show the problem of this first non-preset APN, therefore, compared with prior art, the display packing of the APN that the embodiment of the present invention provides, due to can when mobile terminal be in a network schemer, the non-preset APN that the APN that this network schemer can be supported and mobile terminal are set up at other network schemers shows simultaneously, therefore user can select identical non-preset APN in heterogeneous networks pattern, thus can ensure that the non-preset APN that mobile terminal still can be set up at other network schemers by mobile terminal at a network schemer accesses corresponding network.Further, Consumer's Experience sense can be promoted, the APN making user can not find to have set up suddenly disappears after handover network pattern, and in order to access corresponding network, not needing to rebuild one again at new network schemer and configuring identical APN` with the APN set up at former network schemer.
Embodiment two
Based on the display packing of the APN that above-described embodiment one provides, composition graphs 1, as shown in Figure 2, after above-mentioned S103, the display packing of the APN that the embodiment of the present invention provides can also comprise:
S104, mobile terminal determine that user selects the APN accessed to be the second non-preset APN.
In the present embodiment, in the S101 of above-described embodiment one, an APN of the first network pattern support of acquisition for mobile terminal comprises the first preset APN of first network pattern support and the second non-preset APN of first network pattern support, wherein, the second non-preset APN is the APN of mobile terminal at first network Model Establishment.
In the present embodiment, because mobile terminal also establishes new APN in first network pattern, i.e. the second non-preset APN, therefore when user accesses corresponding network at the non-preset APN of first network model selection second, mobile terminal can determine that user selects the APN accessed to be the second non-preset APN.
Be understandable that, in the application scenarios of reality, if mobile terminal establishes a new non-preset APN under first network pattern, such as second non-preset APN, then mobile terminal may will select this second non-preset APN to access corresponding network, and therefore the present embodiment selects the second non-preset APN to carry out exemplary explanation for user.Due in the embodiment of the present invention, mobile terminal can show the first non-preset APN of mobile terminal at second network Model Establishment in first network pattern, therefore user may also can select the first non-preset APN to access corresponding network in first network pattern, and the description accessing corresponding network at the non-preset APN of first network model selection first for user is described in following embodiment as shown in Figure 4.
Whether S105, mobile terminal, according to the first mark, have in query configuration file and to identify corresponding second with first and identify.
Because the second non-preset APN is the non-preset APN that first network pattern is supported, and first network pattern be designated the first mark, whether therefore mobile terminal is according to this first mark, have to identify corresponding second with first and identify in the configuration file that inquiry is preset.
Description for configuration file and the first mark and the second mark specifically can identify and the second associated description identified configuration file and first see in the S102 of above-described embodiment one, repeats no more herein.
If there is the second mark in S106 configuration file, then the second non-preset APN is saved in default first acquiescence and chooses APN database and the second acquiescence of presetting to choose APN database by mobile terminal.
Wherein, the first acquiescence chooses APN database to be used to indicate the APN selected in first network mode type mobile terminal acquiescence, and the second acquiescence chooses APN database to be used to indicate the APN selected in second network mode type mobile terminal acquiescence.
In the embodiment of the present invention, if mobile terminal finds and to identify corresponding second with first and identify in configuration file, so represent two kinds of network schemers that mobile terminal can support same operator to provide, therefore, when mobile terminal is after first network pattern determines that user selects the APN of access to be the second non-preset APN, the second non-preset APN can be saved in the first default acquiescence and choose APN database and the default second acquiescence to choose APN database by mobile terminal.So, after mobile terminal is switched to second network pattern from current residing first network pattern, mobile terminal can choose the in APN database second non-preset APN to access corresponding network by the second acquiescence, and after mobile terminal switches back first network pattern from second network pattern again, mobile terminal still can choose the in APN database second non-preset APN to access corresponding network by the first acquiescence, thus when constantly can switch at the network schemer residing for mobile terminal, still ensure that mobile terminal can access corresponding network by same non-preset APN, and then ensure the business demand of mobile terminal.
Optionally, the quantity of above-mentioned second mark can be at least one.For other of the quantity of the second mark describe specifically can see in the S103 of above-described embodiment one to the associated description of quantity of the second mark, repeat no more herein.
It should be noted that, in the display packing of the APN that the embodiment of the present invention provides, mobile terminal specifically can choose the APN in APN database to access corresponding network by acquiescence.Such as, in first network pattern, the APN selected in first network mode type mobile terminal acquiescence that mobile terminal can choose APN database to indicate by the first acquiescence, the second non-preset APN as escribed above accesses corresponding network; In second network pattern, the APN selected in second network mode type mobile terminal acquiescence that mobile terminal can choose APN database to indicate by the second acquiescence, the second non-preset APN as escribed above accesses corresponding network.
The display packing of the APN that the embodiment of the present invention provides, the non-preset APN selected by the heterogeneous networks mode type mobile terminal acquiescence will provided in same operator is unified, mobile terminal can be made all to access corresponding network by same non-preset APN in heterogeneous networks pattern, thus ensure the business demand of mobile terminal.
Optionally, in the embodiment of the present invention, after S104, without the need to performing S105, but can also directly perform " the second non-preset APN is saved in the first default acquiescence and chooses APN database and the default second acquiescence to choose APN database by mobile terminal " in S106.
Optionally, in the embodiment of the present invention, after S105, if mobile terminal does not find and to identify corresponding second with first and identify in configuration file, so represent that mobile terminal can only support a kind of network schemer that an operator provides, therefore, when mobile terminal is after first network pattern determines that user selects the APN of access to be the second non-preset APN, the second non-preset APN only need be saved in the first default acquiescence and choose APN database by mobile terminal.
Optionally, composition graphs 1, as shown in Figure 3, after S103, the display packing of the APN that the embodiment of the present invention provides can also comprise:
S107, mobile terminal determine that user selects the APN accessed to be the first preset APN.
In the present embodiment, in the S101 of above-described embodiment one, an APN of the first network pattern support of acquisition for mobile terminal comprises the first preset APN of first network pattern support and the second non-preset APN of first network pattern support, wherein, the second non-preset APN is the APN of mobile terminal at first network Model Establishment.Namely, in the present embodiment, an APN of first network pattern support had both comprised the first preset APN of first network pattern support, comprised again the second non-preset APN that first network pattern is supported.
In first network pattern, as mobile terminal display APN, mobile terminal can show the first preset APN, the second non-preset APN and the first non-preset APN.Other descriptions mobile terminal being shown to the first preset APN, the second non-preset APN and the first non-preset APN specifically see the associated description in the S104 of above-described embodiment, mobile terminal being shown to the first preset APN, the second non-preset APN and the first non-preset APN, can repeat no more herein.
In the present embodiment, when user accesses corresponding network at the preset APN of first network model selection first, mobile terminal can determine that user selects the APN accessed to be the first preset APN.
First preset APN is saved in the first default acquiescence and chooses APN database by S108, mobile terminal, and the first acquiescence chooses APN database to be used to indicate the APN selected in first network mode type mobile terminal acquiescence.
In first network pattern, mobile terminal determines that user selects the APN accessed to be after the first preset APN, and the first preset APN can be saved in the first default acquiescence and choose in APN database by mobile terminal.Wherein, the first acquiescence chooses APN database to be used to indicate the APN selected in first network mode type mobile terminal acquiescence.
Whether S109, mobile terminal, according to the first mark, have corresponding with stating the first mark second to identify in query configuration file.
Because the first preset APN is the preset APN that first network pattern is supported, and first network pattern be designated the first mark, whether therefore mobile terminal is according to this first mark, have to identify corresponding second with first and identify in the configuration file that inquiry is preset.
Description for configuration file and the first mark and the second mark specifically can identify and the second associated description identified configuration file and first see in the S102 of above-described embodiment one, repeats no more herein.
If there is the second mark in S110 configuration file, then the second preset APN is saved in the second default acquiescence and chooses APN database by mobile terminal.
Wherein, the second acquiescence chooses APN database to be used to indicate the APN selected in second network mode type mobile terminal acquiescence, and the second preset APN is the preset APN that second network pattern is supported.
In the embodiment of the present invention, if mobile terminal finds and to identify corresponding second with first and identify in configuration file, so represent two kinds of network schemers that mobile terminal can support same operator to provide, therefore, when mobile terminal is after first network pattern determines that user selects the APN of access to be the first preset APN, the second preset APN of second network pattern support need be saved in the second default acquiescence and choose in APN database by mobile terminal.
So, after mobile terminal is switched to second network pattern from current residing first network pattern, mobile terminal can choose the in APN database second preset APN to access corresponding network by the second acquiescence, and after mobile terminal switches back first network pattern from second network pattern again, mobile terminal still can choose the in APN database first preset APN to access corresponding network by the first acquiescence, thus when constantly can switch at the network schemer residing for mobile terminal, still ensure that the preset APN that mobile terminal can be supported by each network schemer accesses corresponding network, and then ensure the business demand of mobile terminal.
Optionally, the quantity of above-mentioned second mark can be at least one.For other of the quantity of the second mark describe specifically can see in the S103 of above-described embodiment one to the associated description of quantity of the second mark, repeat no more herein.
It should be noted that, due to existing communication agreement regulation, under heterogeneous networks pattern, the preset APN that mobile terminal acquiescence is selected is different, therefore in the present invention's embodiment as shown in Figure 3, when mobile terminal is after first network pattern determines that APN that user selects to access is the first preset APN, mobile terminal needs that the first preset APN is saved in the first acquiescence and chooses APN database, and the second preset APN of second network pattern support is saved in the second acquiescence chooses APN database; Accordingly, when mobile terminal is after second network pattern determines that user selects the APN of access to be the second preset APN, mobile terminal needs that the second preset APN is saved in the second acquiescence and chooses APN database, and the first preset APN of first network pattern support is saved in the first acquiescence chooses APN database.
Optionally, in the embodiment of the present invention, after S108, without the need to performing S109, but can also directly perform " the second preset APN is saved in the second default acquiescence and chooses APN database by mobile terminal " in S110.
Optionally, in the embodiment of the present invention, after S109, if mobile terminal does not find and to identify corresponding second with first and identify in configuration file, so represent that mobile terminal can only support a kind of network schemer that an operator provides, therefore, when mobile terminal is after first network pattern determines that user selects the APN of access to be the first preset APN, the first preset APN only need be saved in the first default acquiescence and choose in APN database by mobile terminal.
Further, to access corresponding network by preset APN different from above-mentioned mobile terminal, if mobile terminal accesses corresponding network in first network pattern by the second non-preset APN, then mobile terminal needs the second non-preset APN to be saved in the first acquiescence and chooses APN database and the second acquiescence to choose APN database; Accordingly, if mobile terminal accesses corresponding network in second network pattern by the first non-preset APN, then mobile terminal needs the first non-preset APN to be saved in the first acquiescence and chooses APN database and the second acquiescence to choose APN database.Namely in the method, as long as mobile terminal selects certain non-preset APN at certain network schemer, the acquiescence that then this non-preset APN all can be saved in its other network schemers supported corresponding by mobile terminal chooses APN database, thus ensure that the acquiescence that each network schemer of mobile terminal support is corresponding chooses the APN that in APN database, mobile terminal acquiescence is selected all identical, and then ensure the business demand of mobile terminal at each network schemer.
Optionally, composition graphs 1, as shown in Figure 4, after above-mentioned S103, the display packing of the APN that the embodiment of the present invention provides can also comprise:
S111, mobile terminal determine that user selects the APN accessed to be the first non-preset APN.
In the present embodiment, in the S101 of above-described embodiment one, an APN of the first network pattern support of acquisition for mobile terminal comprises the first preset APN that first network pattern is supported, or comprise the first preset APN of first network pattern support and the second non-preset APN of first network pattern support, wherein, the second non-preset APN is the APN of mobile terminal at first network Model Establishment.
Further, due in the embodiment of the present invention, mobile terminal can show the first non-preset APN of mobile terminal at second network Model Establishment in first network pattern, and therefore user also can select the first non-preset APN to access corresponding network in first network pattern.User is accessed to the specific implementation of corresponding network at the non-preset APN of first network model selection first, the specific implementation accessing corresponding network at the non-preset APN of first network model selection second to above-mentioned user is as shown in Figure 2 similar, repeats no more herein.
Whether S112, mobile terminal, according to the second mark, have in query configuration file and to identify corresponding first with second and identify.
Because the first non-preset APN is the non-preset APN that second network pattern is supported, and second network pattern be designated the second mark, whether therefore mobile terminal is according to this second mark, have to identify corresponding first with second and identify in the configuration file that inquiry is preset.
Description for configuration file and the first mark and the second mark specifically can identify and the second associated description identified configuration file and first see in the S102 of above-described embodiment one, repeats no more herein.
If there is the first mark in S113 configuration file, then the first non-preset APN is saved in default first acquiescence and chooses APN database and the second acquiescence of presetting to choose APN database by mobile terminal.
Wherein, the first acquiescence chooses APN database to be used to indicate the APN selected in first network mode type mobile terminal acquiescence, and the second acquiescence chooses APN database to be used to indicate the APN selected in second network mode type mobile terminal acquiescence.
In the embodiment of the present invention, if mobile terminal finds and to identify corresponding first with second and identify in configuration file, so represent two kinds of network schemers that mobile terminal can support same operator to provide, therefore, when mobile terminal is after first network pattern determines that user selects the APN of access to be the first non-preset APN, the first non-preset APN can be saved in the first default acquiescence and choose APN database and the default second acquiescence to choose APN database by mobile terminal.So, after mobile terminal is switched to second network pattern from current residing first network pattern, mobile terminal can choose the in APN database first non-preset APN to access corresponding network by the second acquiescence, and after mobile terminal switches back first network pattern from second network pattern again, mobile terminal still can choose the in APN database first non-preset APN to access corresponding network by the first acquiescence, thus when constantly can switch at the network schemer residing for mobile terminal, still ensure that mobile terminal can access corresponding network by same non-preset APN, and then ensure the business demand of mobile terminal.
Optionally, the quantity of above-mentioned first mark can be at least one.For other of the quantity of the first mark describe specifically can see in the S103 of above-described embodiment one to the associated description of quantity of the second mark, repeat no more herein.
It should be noted that, in the display packing of the APN that the embodiment of the present invention provides, mobile terminal specifically can choose the APN in APN database to access corresponding network by acquiescence.Specifically see the associated description in above-mentioned embodiment as shown in Figure 2, can repeat no more herein.
The display packing of the APN that the embodiment of the present invention provides, the non-preset APN selected by the heterogeneous networks mode type mobile terminal acquiescence will provided in same operator is unified, mobile terminal can be made all to access corresponding network by same non-preset APN in heterogeneous networks pattern, thus ensure the business demand of mobile terminal.
Optionally, in the embodiment of the present invention, after S111, without the need to performing S112, but can also directly perform " the first non-preset APN is saved in the first default acquiescence and chooses APN database and the default second acquiescence to choose APN database by mobile terminal " in S113.
Optionally, in the embodiment of the present invention, after S112, if mobile terminal does not find and to identify corresponding first with second and identify in configuration file, so represent that mobile terminal can only support a kind of network schemer that an operator provides, therefore, when mobile terminal is after first network pattern determines that user selects the APN of access to be the first non-preset APN, the first non-preset APN only need be saved in the first default acquiescence and choose APN database by mobile terminal.
Optionally, composition graphs 1, as shown in Figure 5, after above-mentioned S101, the display packing of the APN that the embodiment of the present invention provides can also comprise:
One APN is saved in default APN and connects in list by S114, mobile terminal.
Wherein, the APN preset connects list and accesses in heterogeneous networks pattern the APN that corresponding network can adopt for preserving mobile terminal.Such as mobile terminal can access corresponding network by an APN in first network pattern, then mobile terminal can obtain an APN, and is saved in by an APN in default APN connection list.
Description for configuration file and the first mark and the second mark specifically can identify and the second associated description identified configuration file and first see in the S102 of above-described embodiment one, repeats no more herein.
It should be noted that, the embodiment of the present invention does not limit the execution sequence of S102-S103 and S114.Namely the embodiment of the present invention first can perform S102-S103, rear execution S114; Also first S114 can be held, rear execution S102-S103; S102-S103 and S114 can also be performed simultaneously.
As shown in Figure 5, after S102, the display packing of the APN that the embodiment of the present invention provides can also comprise:
If there is the second mark in S115 configuration file, then mobile terminal identifies the first corresponding non-preset APN and is saved in APN by with second and connects in list.
In the embodiment of the present invention, if mobile terminal finds and to identify corresponding second with first and identify in configuration file, so represent two kinds of network schemers that mobile terminal can support same operator to provide, therefore, mobile terminal can identify with second the first corresponding non-preset APN and is also saved in APN and connects in list.So, mobile terminal, no matter at which network schemer, all can connect list from this APN and select an APN to access corresponding network.
Concrete, in the embodiment of the present invention, under certain network schemer, when mobile terminal needs to access corresponding network by certain APN, mobile terminal can be chosen from the acquiescence corresponding with this network schemer APN database and determine to give tacit consent at this network schemer mobile terminal the APN selected, connect list from above-mentioned APN again and find this APN, and access corresponding network by this APN.
The method of the present embodiment, when mobile terminal switches in heterogeneous networks pattern, mobile terminal can choose APN database to be connected list with APN according to acquiescence, automatically determine that mobile terminal needs the APN adopted, and access corresponding network by this APN, therefore manually select corresponding APN to access corresponding network again without the need to user, thus mobile terminal accesses corresponding network efficiency by APN can be improved.
Optionally, the quantity of above-mentioned second mark can be at least one.For other of the quantity of the second mark describe specifically can see in the S103 of above-described embodiment one to the associated description of quantity of the second mark, repeat no more herein.
It should be noted that, the embodiment of the present invention does not limit the execution sequence of S103 and S115.Namely the embodiment of the present invention first can perform S103, rear execution S115; Also first S115 can be held, rear execution S103; S103 and S115 can also be performed simultaneously.
Optionally, in the embodiment of the present invention, after S102, if mobile terminal does not find and to identify corresponding second with first and identify in configuration file, so represent that mobile terminal can only support a kind of network schemer that an operator provides, therefore, the second non-preset APN only need be saved in default APN connection list by mobile terminal.
Optionally, composition graphs 1, as shown in Figure 6, after S102, before S103, the display packing of the APN that the embodiment of the present invention provides can also comprise:
If there is the second mark in S116 configuration file, then mobile terminal is according to the second mark, and obtain from the APN database preset and identify the first corresponding non-preset APN with second, the first non-preset APN is the APN of mobile terminal at second network Model Establishment.
In the embodiment of the present invention, the preset APN that each network schemer that APN database provides for each operator preserving mobile terminal support is supported and non-preset APN.Wherein, preset APN is arranged in advance in APN database, and non-preset APN is that mobile terminal is saved in this APN database when user's triggering mobile terminals sets up a new APN.
Optionally, the quantity of the first non-preset APN that above-mentioned second mark is corresponding can be at least one.
The quantity of above-mentioned second mark can be at least one.When the quantity of the second mark is one, the quantity of the first non-preset APN that the second mark is corresponding can be at least one, namely one, two or more.When the quantity of the second mark is two, the quantity of the first non-preset APN that the second mark is corresponding can be two or more.When the quantity of the second mark is two or more, the quantity of the first non-preset APN that the second mark is corresponding can be two or more.Namely in the embodiment of the present invention, one the second at least corresponding first non-preset APN of mark.
For other of the quantity of the second mark describe specifically can see in the S103 of above-described embodiment one to the associated description of quantity of the second mark, repeat no more herein.
Optionally, in the embodiment of the present invention, after S102, if mobile terminal does not find and to identify corresponding second with first and identify in configuration file, so represent that mobile terminal can only support a kind of network schemer that an operator provides, therefore, mobile terminal only need show the APN that first network pattern is supported.
As shown in Figure 6, above-mentioned S103 is specifically as follows:
S103a, mobile terminal display the one APN and the first non-preset APN.
The display packing of the APN that the embodiment of the present invention provides, the APN that mobile terminal can be supported in first network pattern display first network pattern and the first non-preset APN that second network pattern is supported, thus user can be made manually to select identical non-preset APN in heterogeneous networks pattern, i.e. the first non-preset APN, and then ensure that mobile terminal all can access corresponding network by same non-preset APN in heterogeneous networks pattern, and the business demand of mobile terminal can be ensured.
Optionally, in the display packing of the APN that the embodiment of the present invention provides, when user's triggering mobile terminals deletes certain non-preset APN in first network pattern, mobile terminal also can delete this non-preset APN in second network pattern, namely mobile terminal can not show this non-preset APN again when first network pattern and second network pattern display APN, causes the problem of access network failure when mobile terminal so can be avoided to switch between heterogeneous networks pattern due to identical non-preset APN cannot be used to access corresponding network.Accordingly, when user's triggering mobile terminals deletes certain non-preset APN in second network pattern, mobile terminal also can delete this non-preset APN in first network pattern, and namely mobile terminal can not show this non-preset APN again when first network pattern display APN.Wherein, this non-preset APN can be the first non-preset APN, also can be the second non-preset APN.
Optionally, when specific implementation, above-mentioned configuration file, the first acquiescence choose APN database, the second acquiescence chooses APN database, APN to connect list and APN database can by different file/database realizing, also can be realized by the disparate modules of a database, the present invention is not construed as limiting.Further, the title of each file/database above-mentioned just carries out exemplary description to technical scheme of the present invention, and it does not form any restriction to the present invention.
Optionally, the display packing of the APN that the embodiment of the present invention provides, when mobile terminal accesses corresponding network at the second non-preset APN of first network model selection first network pattern support, the acquiescence that each network schemer that mobile terminal is provided by the same operator that this second non-preset APN is saved in this mobile terminal support is corresponding chooses APN database, thus when ensureing that mobile terminal switches between heterogeneous networks pattern, mobile terminal can access corresponding network by same non-preset APN automatically, and then the business demand of mobile terminal can be ensured, and improve the efficiency being accessed corresponding network by this non-preset APN.
Optionally, the display packing of the APN that the embodiment of the present invention provides, when mobile terminal accesses corresponding network at the first preset APN of first network model selection first network pattern support, mobile terminal chooses APN database by the first acquiescence this first preset APN being saved in first network pattern corresponding, and the preset APN of each network schemer support that the same operator supported by this mobile terminal provides is saved in acquiescence corresponding to each network schemer respectively chooses APN database, thus when ensureing that mobile terminal switches between heterogeneous networks pattern, the preset APN that mobile terminal can be supported by each network schemer automatically accesses corresponding network, and then the business demand of mobile terminal can be ensured, and improve the efficiency being accessed corresponding network by these preset APN.
Further, the display packing of the APN that the embodiment of the present invention provides, after the APN that acquisition for mobile terminal first network pattern is supported, one APN can be saved in default APN and connect in list by mobile terminal, and the first non-preset APN of the second network pattern support operator of mobile terminal support provided also is saved in this APN connection list, thus when ensureing that mobile terminal switches between heterogeneous networks pattern, mobile terminal can connect list from APN automatically selects the APN identical with giving tacit consent to the APN that chooses mobile terminal in APN database to give tacit consent to select to access corresponding network, and manually select corresponding APN to access corresponding network again without the need to user, thus mobile terminal accesses corresponding network efficiency by this APN can be improved.
Embodiment three
As shown in Figure 7, the embodiment of the present invention provides a kind of mobile terminal, and this mobile terminal can comprise:
Acquiring unit 10, for obtaining the first APN APN that first network pattern is supported, described first network pattern is the current residing network schemer of described mobile terminal; Query unit 11, for the first mark according to described first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with described first and identify, described second mark is used to indicate second network pattern, the network schemer that described first network pattern and described second network pattern provide for same operator that described mobile terminal is supported; Display unit 12, if inquire in described configuration file for described query unit 11 and have described second mark, then show a described APN of described acquiring unit 10 acquisition and identify the first corresponding non-preset APN with described second, described first non-preset APN is the APN of described mobile terminal at described second network Model Establishment.
Optionally, the described APN that described acquiring unit 10 obtains comprises the first preset APN, and described first preset APN is the preset APN that described first network pattern is supported.
Optionally, the described APN that described acquiring unit 10 obtains comprises the first preset APN and the second non-preset APN, and described second non-preset APN is the APN of described mobile terminal at described first network Model Establishment.
Optionally, the described APN that described acquiring unit 10 obtains comprises the first preset APN and the second non-preset APN, composition graphs 7, and as shown in Figure 8, described mobile terminal also comprises determining unit 13 and storage unit 14,
Described determining unit 13, for show a described APN and described first non-preset APN at described display unit 12 after, determines that user selects the APN accessed to be described second non-preset APN; Described query unit 11, also for according to described first mark, inquires about in described configuration file whether to have to identify corresponding described second with described first and identify; Described storage unit 14, if inquire in described configuration file for described query unit 11 and have described second mark, the described second non-preset APN then described determining unit 13 determined is saved in the first default acquiescence and chooses APN database and the default second acquiescence to choose APN database, described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern, and described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern.
Optionally, the described APN that described acquiring unit 10 obtains comprises the first preset APN and the second non-preset APN, composition graphs 7, and as shown in Figure 8, described mobile terminal also comprises determining unit 13 and storage unit 14,
Described determining unit 13, for show a described APN and the first non-preset APN at described display unit 12 after, determines that user selects the APN accessed to be described first preset APN; Described storage unit 14, described first preset APN for described determining unit 13 being determined is saved in the first default acquiescence and chooses APN database, and described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern; Described query unit 11, also for according to described first mark, inquires about in described configuration file whether to have to identify corresponding described second with described first and identify; Described storage unit 14, if also inquire in described configuration file for described query unit 11 and have described second mark, then the second preset APN is saved in the second default acquiescence and chooses APN database, described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern, and described second preset APN is the preset APN that described second network pattern is supported.
Optionally, composition graphs 7, as shown in Figure 8, described mobile terminal also comprises determining unit 13 and storage unit 14,
Described determining unit 13, for show a described APN and described first non-preset APN at described display unit 12 after, determines that user selects the APN accessed to be described first non-preset APN; Described query unit 11, also for according to described second mark, inquires about in described configuration file whether to have to identify corresponding described first with described second and identify; Described storage unit 14, if inquire in described configuration file for described query unit 11 and have described first mark, the described first non-preset APN then described determining unit 13 determined is saved in the first default acquiescence and chooses APN database and the default second acquiescence to choose APN database, described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern, and described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern.
Optionally, described storage unit 14, also for after obtaining a described APN at described acquiring unit 10, the described APN obtained by described acquiring unit 10 is saved in default APN and connects in list; Described storage unit 14, also for identifying according to first of described first network pattern in described query unit 11, whether have in the configuration file that inquiry is preset to identify with described first corresponding second identify after, if described query unit 11 inquires in described configuration file described second mark, then identify corresponding described first non-preset APN and be saved in described APN by with described second and connect in list.
Optionally, described acquiring unit 10, also for identifying according to first of described first network pattern in described query unit 11, whether have in the configuration file that inquiry is preset to identify with described first corresponding second identify after, before described display unit 12 shows a described APN and identifies the first corresponding non-preset APN with described second, according to described second mark, obtain from the APN database preset and identify corresponding described first non-preset APN with described second.
It should be noted that, for first network pattern, second network pattern, an APN (comprising the first preset APN or the first preset APN and the second non-preset APN), the first non-preset APN, the second preset APN, configuration file, the first mark, the second mark, the first acquiescence chooses APN database, the second acquiescence chooses APN database, APN is connected list and the specific descriptions of APN database all see the associated description in above-described embodiment one and embodiment two, can repeat no more herein.
The mobile terminal that the embodiment of the present invention provides other can perform the terminal of the display packing of the APN that the embodiment of the present invention provides for smart mobile phone, panel computer or intelligent hand-held terminal etc., and the present invention does not do concrete restriction.
Optionally, on hardware implementing, the process that described acquiring unit 10, described query unit 11, described display unit 12, described determining unit 13 and described storage unit 14 complete all can perform corresponding program code by processor and realize.This mobile terminal can also comprise memory, and memory can be used for storing above-mentioned first network pattern, second network pattern, an APN (comprising the first preset APN or the first preset APN and the second non-preset APN), the first non-preset APN, the second preset APN, configuration file, the first mark, the second mark, the first acquiescence chooses APN database, the second acquiescence chooses APN database, APN is connected list and APN database relevant information.This mobile terminal can also comprise system bus and data-interface, and wherein, processor and memory are all connected by system bus and complete mutual communication; Processor completes external data interaction by data-interface, and such as processor is undertaken mutual etc. by data-interface and other equipment.
Optionally, above-mentioned processor can be central processing unit (English: centralprocessingunit, abbreviation: CPU).
Above-mentioned memory, for the program code that storage of processor performs, and by this program code transfer to processor, processor completes said process by performing this program code.Memory can comprise volatile memory, and (English: volatilememory), such as (English: random-accessmemory, abridges: RAM) random access memory; It is (English: non-volatilememory) that memory also can comprise nonvolatile memory, such as read-only memory is (English: read-onlymemory, abbreviation: ROM), flash memory is (English: flashmemory), hard disk is (English: harddiskdrive, abbreviation: HDD) or solid state hard disc (English: solid-statedrive, abbreviation: SSD); Memory can also comprise the combination of the memory of mentioned kind.
Data-interface can be USB interface and first-class components/units/module etc. that can be mutual with outside of making a video recording.
The embodiment of the present invention provides a kind of mobile terminal, when this mobile terminal needs display APN, the APN that first this mobile terminal obtains its current residing first network pattern support (comprises the preset APN that this network schemer is supported, or the preset APN of this network schemer support and the non-preset APN set up at this network schemer), then due to preserve the network schemer that same operator provides in configuration file mark between corresponding relation, if therefore this mobile terminal is identified in configuration file to inquire according to first and identifies corresponding second with first and identify, then this mobile terminal shows an APN and the first non-preset APN of this mobile terminal at second network Model Establishment simultaneously, thus can to avoid in prior art after the non-preset APN of second network Model Establishment first, if this mobile terminal is switched to first network pattern, this mobile terminal cannot show the problem of this first non-preset APN, therefore, compared with prior art, the mobile terminal that the embodiment of the present invention provides, due to can when this mobile terminal be in a network schemer, the non-preset APN that the APN that this network schemer can be supported and this mobile terminal are set up at other network schemers shows simultaneously, therefore user can select identical non-preset APN in heterogeneous networks pattern, thus can ensure that the non-preset APN that this mobile terminal still can be set up at other network schemers by this mobile terminal at a network schemer accesses corresponding network.Further, Consumer's Experience sense can be promoted, the APN making user can not find to have set up suddenly disappears after handover network pattern, and in order to access corresponding network, not needing to rebuild one again at new network schemer and configuring identical APN` with the APN set up at former network schemer.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, the indirect coupling of device or unit or communication connection.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit can adopt the form of SFU software functional unit to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor perform all or part of step of method described in each embodiment of the present invention.Described storage medium is non-transience medium, comprising: flash memory, portable hard drive, read-only memory, random access memory, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a display packing of APN APN, is applied in mobile terminal, it is characterized in that, described display packing comprises:
The APN that described acquisition for mobile terminal first network pattern is supported, described first network pattern is the current residing network schemer of described mobile terminal;
Described mobile terminal is according to the first mark of described first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with described first and identify, described second mark is used to indicate second network pattern, the network schemer that described first network pattern and described second network pattern provide for same operator that described mobile terminal is supported;
If there is described second mark in described configuration file, then described mobile terminal shows a described APN and identifies the first corresponding non-preset APN with described second, and described first non-preset APN is the APN of described mobile terminal at described second network Model Establishment.
2. display packing according to claim 1, is characterized in that,
A described APN comprises the first preset APN, and described first preset APN is the preset APN that described first network pattern is supported, or,
A described APN comprises the first preset APN and the second non-preset APN, and described second non-preset APN is the APN of described mobile terminal at described first network Model Establishment.
3. display packing according to claim 2, is characterized in that, a described APN comprises the first preset APN and the second non-preset APN,
After a described mobile terminal display described APN and the first non-preset APN, described display packing also comprises:
Described mobile terminal determines that user selects the APN accessed to be described second non-preset APN;
Described mobile terminal, according to described first mark, inquires about in described configuration file whether to have to identify corresponding described second with described first and identify;
If there is described second mark in described configuration file, then described second non-preset APN is saved in default first acquiescence and chooses APN database and the second acquiescence of presetting to choose APN database by described mobile terminal, described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern, and described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern.
4. display packing according to claim 2, is characterized in that, a described APN comprises the first preset APN and the second non-preset APN,
After a described mobile terminal display described APN and the first non-preset APN, described display packing also comprises:
Described mobile terminal determines that user selects the APN accessed to be described first preset APN;
Described first preset APN is saved in the first default acquiescence and chooses APN database by described mobile terminal, and described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern;
Described mobile terminal, according to described first mark, inquires about in described configuration file whether to have to identify corresponding described second with described first and identify;
If there is described second mark in described configuration file, then the second preset APN is saved in the second default acquiescence and chooses APN database by described mobile terminal, described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern, and described second preset APN is the preset APN that described second network pattern is supported.
5. display packing according to claim 2, is characterized in that, after a described mobile terminal display described APN and the first non-preset APN, described display packing also comprises:
Described mobile terminal determines that user selects the APN accessed to be described first non-preset APN;
Described mobile terminal, according to described second mark, inquires about in described configuration file whether to have to identify corresponding described first with described second and identify;
If there is described first mark in described configuration file, then described first non-preset APN is saved in default first acquiescence and chooses APN database and the second acquiescence of presetting to choose APN database by described mobile terminal, described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern, and described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern.
6. a mobile terminal, is characterized in that, described mobile terminal comprises:
Acquiring unit, for obtaining the first APN APN that first network pattern is supported, described first network pattern is the current residing network schemer of described mobile terminal;
Query unit, for the first mark according to described first network pattern, whether have in the configuration file that inquiry is preset and to identify corresponding second with described first and identify, described second mark is used to indicate second network pattern, the network schemer that described first network pattern and described second network pattern provide for same operator that described mobile terminal is supported;
Display unit, if inquire in described configuration file for described query unit and have described second mark, then show a described APN of described acquiring unit acquisition and identify the first corresponding non-preset APN with described second, described first non-preset APN is the APN of described mobile terminal at described second network Model Establishment.
7. mobile terminal according to claim 6, is characterized in that,
The described APN that described acquiring unit obtains comprises the first preset APN, and described first preset APN is the preset APN that described first network pattern is supported, or,
The described APN that described acquiring unit obtains comprises the first preset APN and the second non-preset APN, and described second non-preset APN is the APN of described mobile terminal at described first network Model Establishment.
8. mobile terminal according to claim 7, is characterized in that, the described APN that described acquiring unit obtains comprises the first preset APN and the second non-preset APN, and described mobile terminal also comprises determining unit and storage unit,
Described determining unit, for after a described display unit display described APN and described first non-preset APN, determines that user selects the APN accessed to be described second non-preset APN;
Described query unit, also for according to described first mark, inquires about in described configuration file whether to have to identify corresponding described second with described first and identify;
Described storage unit, if inquire in described configuration file for described query unit and have described second mark, the described second non-preset APN then described determining unit determined is saved in the first default acquiescence and chooses APN database and the default second acquiescence to choose APN database, described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern, and described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern.
9. mobile terminal according to claim 7, is characterized in that, the described APN that described acquiring unit obtains comprises the first preset APN and the second non-preset APN, and described mobile terminal also comprises determining unit and storage unit,
Described determining unit, for after a described display unit display described APN and the first non-preset APN, determines that user selects the APN accessed to be described first preset APN;
Described storage unit, described first preset APN for described determining unit being determined is saved in the first default acquiescence and chooses APN database, and described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern;
Described query unit, also for according to described first mark, inquires about in described configuration file whether to have to identify corresponding described second with described first and identify;
Described storage unit, if also inquire in described configuration file for described query unit and have described second mark, then the second preset APN is saved in the second default acquiescence and chooses APN database, described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern, and described second preset APN is the preset APN that described second network pattern is supported.
10. mobile terminal according to claim 7, is characterized in that, described mobile terminal also comprises determining unit and storage unit,
Described determining unit, for after a described display unit display described APN and described first non-preset APN, determines that user selects the APN accessed to be described first non-preset APN;
Described query unit, also for according to described second mark, inquires about in described configuration file whether to have to identify corresponding described first with described second and identify;
Described storage unit, if inquire in described configuration file for described query unit and have described first mark, the described first non-preset APN then described determining unit determined is saved in the first default acquiescence and chooses APN database and the default second acquiescence to choose APN database, described first acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described first network pattern, and described second acquiescence chooses APN database to be used to indicate the APN that mobile terminal acquiescence is selected described in described second network pattern.
CN201510565826.7A 2015-09-08 2015-09-08 A kind of display methods and mobile terminal of access point name Active CN105262888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510565826.7A CN105262888B (en) 2015-09-08 2015-09-08 A kind of display methods and mobile terminal of access point name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510565826.7A CN105262888B (en) 2015-09-08 2015-09-08 A kind of display methods and mobile terminal of access point name

Publications (2)

Publication Number Publication Date
CN105262888A true CN105262888A (en) 2016-01-20
CN105262888B CN105262888B (en) 2018-09-18

Family

ID=55102391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510565826.7A Active CN105262888B (en) 2015-09-08 2015-09-08 A kind of display methods and mobile terminal of access point name

Country Status (1)

Country Link
CN (1) CN105262888B (en)

Cited By (1)

* 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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281612A (en) * 2011-07-13 2011-12-14 华为终端有限公司 Method and device for realizing automatic dialing by access point
CN103702390A (en) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Terminal and method for establishing access point name list

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281612A (en) * 2011-07-13 2011-12-14 华为终端有限公司 Method and device for realizing automatic dialing by access point
CN103702390A (en) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Terminal and method for establishing access point name list

Cited By (2)

* 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
CN108156600B (en) * 2017-12-20 2021-11-23 中国移动通信集团江苏有限公司 Method, device, equipment and medium for automatically configuring APN (access point name) of Internet of things card

Also Published As

Publication number Publication date
CN105262888B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
US10958524B2 (en) Method for generating network slice template and for applying network slice template, and apparatus
EP3550892B1 (en) Method for network slice selection, user equipment, and network device
KR102141372B1 (en) Terminal device with built-in subscriber identification module and profile selection method for this
CN105376107B (en) Terminal testing method and proxy server
WO2016173348A1 (en) Network access method and mobile communications terminal
EP3648525A1 (en) Network management method and system
CN105393603A (en) Method for selecting public land mobile network (PLMN), and apparatus and device thereof
CN104902547A (en) WiFi (wireless fidelity) network connection method and WiFi network connection device
CN105357737A (en) Method and device for accessing WiFi device to wireless access point
WO2016173349A1 (en) Network access method and mobile communications terminal
CN104010291B (en) Network registering method and its device and mobile terminal
CN105357143A (en) Forwarding method and service routing relay node
JP2018506761A (en) Implicit file generation in APDU script
CN104601262A (en) Information processing method and mobile equipment
CN103813439A (en) Method for terminal register and terminal
EP3080960B1 (en) Method of managing communication between a secure element and a host device
US10432714B2 (en) Data processing method and system based on asymmetric P2P network
CN105262888A (en) Access point name display method and mobile terminal
CN105474674A (en) Automatically detection of a network operator for a mobile network device
CN105743891A (en) Networking method and device, server and router
CN111885664B (en) User equipment routing method and related product
JP7270845B2 (en) Mobile service access method, device, system, storage medium, electronic device
CN107896384A (en) Wireless connection method, Cloud Server, terminal and the device with store function
US20160162192A1 (en) Optimizing access to universal integrated circuit card (uicc) files in a user equipment (ue)
CN106717107A (en) Method and terminal for connecting to network

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