CN110493771A - Connection method, device, storage medium and the terminal device of data network - Google Patents

Connection method, device, storage medium and the terminal device of data network Download PDF

Info

Publication number
CN110493771A
CN110493771A CN201910767480.7A CN201910767480A CN110493771A CN 110493771 A CN110493771 A CN 110493771A CN 201910767480 A CN201910767480 A CN 201910767480A CN 110493771 A CN110493771 A CN 110493771A
Authority
CN
China
Prior art keywords
apn
sim card
parameter
parameter value
target component
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
CN201910767480.7A
Other languages
Chinese (zh)
Other versions
CN110493771B (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.)
Realme Chongqing Mobile Communications Co Ltd
Original Assignee
Realme Chongqing Mobile Communications 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 Realme Chongqing Mobile Communications Co Ltd filed Critical Realme Chongqing Mobile Communications Co Ltd
Priority to CN201910767480.7A priority Critical patent/CN110493771B/en
Publication of CN110493771A publication Critical patent/CN110493771A/en
Application granted granted Critical
Publication of CN110493771B publication Critical patent/CN110493771B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application discloses connection method, device, storage medium and the terminal device of a kind of data network, belongs to wireless communication field.Terminal device is when starting the loading procedure of SIM card, the parameter value of the target component stored in reading SIM card, APN set is created according to the parameter value of target component, and according to APN gather in target APN establish network connection, it withouts waiting for creating APN set again after parameter load all in SIM card is completed, loading parameter all in SIM card in the prior art compared with data network establishes connection, is reducing the time for connecting upper data network later.

Description

Connection method, device, storage medium and the terminal device of data network
Technical field
This application involves wireless communication field more particularly to a kind of connection method of data network, device, storage medium and Terminal device.
Background technique
Access point name (access point name, APN) is by user equipment (user equipment, UE) The one group of parameter that must be configured when net, determines UE accesses public data network (public data by which kind of mode mode Network, PDN).For UE, accessible external network type has very much, such as: internet, Wireless Application Protocol Website, conglomerate's internal network, industry internal private network.The mode of range and access that different APN can be accessed It is different.UE loads the parameter in subscriber identification module (Subscriber Identification Module, SIM) card, After parameter loaded in SIM card, then UE is connected to public data network according to APN list according to creation list, from And realize function of surfing the Net.
Summary of the invention
The technical issues of the embodiment of the present application solves is to reduce the load time of parameter in SIM card, to reduce terminal The duration of data network in the connection of equipment.The technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of connection method of data network, which comprises
Start subscriber identification module loading procedure;The parameter value of the target component stored in reading SIM card, and according to mesh The parameter value creation access point name APN set of parameter is marked, the quantity of target component is one or more, the quantity of target component Less than the quantity of all parameters stored in SIM card;The selection target APN in APN set, and the number with target APN instruction Connection is established according to network, target component is the parameter for configuration of APN.
Second aspect, this application provides a kind of attachment devices of data network, comprising:
Start unit, for starting the loading procedure of subscriber identification module SIM card;
Creating unit, for reading the parameter value of the target component stored in the SIM card, and according to target component Parameter value creates access point name APN set, and the quantity of target component is one or more, and the quantity of target component is less than SIM The quantity of all parameters stored in card, target component are the parameters for configuration of APN;
Connection unit, for establishing company in APN Resource selection target APN, and with the data network of target APN instruction It connects.
The third aspect, the embodiment of the present application provide a kind of computer storage medium, and the computer storage medium is stored with A plurality of instruction, described instruction are suitable for being loaded by processor and executing above-mentioned method and step.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, it may include: processor and memory;Wherein, described Memory is stored with computer program, and the computer program is suitable for being loaded by the processor and being executed above-mentioned method step Suddenly.
The technical solution bring beneficial effect that some embodiments of the application provide includes at least:
Terminal device is when starting the loading procedure of SIM card, the parameter value of the target component stored in reading SIM card, root According to target component parameter value creation APN set, and according to APN gather in target APN establish network connection, do not need APN set is created again after completing to parameter load all in SIM card, with ginseng all in load SIM card in the prior art It compares after number establishing PDN connection, reduces the time for connecting upper data network.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the architecture diagram of wireless communication system provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of the connection method of data network provided by the embodiments of the present application;
Fig. 3 is a kind of another flow diagram of the connection method of data network provided by the embodiments of the present application;
Fig. 4 is a kind of another flow diagram of the connection method of data network provided by the embodiments of the present application;
Fig. 5 is a kind of another flow diagram of the connection method of data network provided by the embodiments of the present application;
Fig. 6 is a kind of another schematic diagram of the connection method of data network provided by the embodiments of the present application;
Fig. 7 is a kind of another schematic diagram of the connection method of data network provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of the attachment device of data network provided by the present application;
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the embodiment of the present application Mode is described in further detail.
The embodiment of the present application can be applied to wireless communication system, it should be noted that the nothing that the embodiment of the present application refers to Line communication system includes but is not limited to: narrowband Internet of things system (Narrow Band-Internet of Things, NB-IoT), Global system for mobile communications (Global System for Mobile Communications, GSM), enhanced data rates GSM evolution system (Enhanced Data rate for GSM Evolution, EDGE), broadband CDMA system (Wideband Code Division Multiple Access, WCDMA), CDMA 2000 system (Code Division Multiple Access, CDMA2000), TDS-CDMA system (Time Division-Synchronization Code Division Multiple Access, TD-SCDMA), long evolving system (Long Term Evolution, LTE), three big application scenarios of NR (New Radio, newly eat dishes without rice or wine) communication system and next generation's 5G mobile communication system are enhanced Mobile broadband (Enhanced Mobile Broad Band, eMBB), URLLC and large-scale machines communicate (Massive Machine-Type Communications, mMTC).
In the embodiment of the present application, terminal device (terminal device) include but is not limited to mobile station (MS, Mobile Station), mobile terminal device (Mobile Terminal), mobile phone (Mobile Telephone), mobile phone (handset) and portable equipment (portable equipment) etc., the terminal device can through wireless access network (RAN, Radio Access Network) it is communicated with one or more core nets, for example, terminal device can be mobile phone (or be " honeycomb " phone), computer with wireless communication function etc., terminal device can also be portable, pocket, Hand-held, built-in computer or vehicle-mounted mobile device or equipment.
Fig. 1 is a kind of communication system architecture schematic diagram provided by the present application.
As shown in Figure 1, communication system 01 includes net equipment 101 and terminal device 102.When communication system 01 includes core net When, which can also be connected with core net.The network equipment 101 can also be with Internet protocol (Internet Protocol, IP) network 200 is communicated, for example, internet (internet), privately owned IP network or other data networks etc.. The network equipment provides service for the terminal device in coverage area.For example, with reference to shown in Fig. 1, the network equipment 101 is the network equipment One or more terminal devices in 101 coverage areas provide wireless access.In addition, can be with can be mutual between the network equipment Communication.
The network equipment 101 can be the equipment for being communicated with terminal device.For example, it may be gsm system or Base station (Base Transceiver Station, BTS) in cdma system, is also possible to the base station in WCDMA system (NodeB, NB) can also be evolved base station (Evolved Node B, eNB or eNodeB) or future 5G in LTE system Network side equipment etc. in network.Or the network equipment can also be relay station, access point, mobile unit etc..It is set in terminal For in terminal device (Device to Device, D2D) communication system, which, which can also be, serves as base station functions Terminal device.Terminal device may include the various handheld devices with wireless communication function, mobile unit, wearable device, Calculate equipment or be connected to radio modem other processing equipments and various forms of user equipment (user Equipment, UE), mobile station (mobile station, MS) etc..
Wherein, terminal device is built-in with subscriber identification module (subscriber identification module, SIM) Card, the type of SIM card can be embedded SIM card, can plug SIM card or virtual SIM card, embedded SIM card is fixed and terminal Equipment connection, can not remove from terminal device;Can plug SIM card connect with terminal device by SIM card slot, can slot SIM card can be removed from terminal device;Virtual SIM card is that terminal device is virtual using the software resource and hardware resource of itself SIM card out.Many kinds of parameters is stored in SIM card, such as: the parameter stored in SIM card includes: international mobile subscriber identification Code (international mobile subscriber identification number, IMSI), integrated circuit card identification Code (integrate circuit card identity, ICCID), service provider network (service provider Network, SPN), group identifier (group identifier, GID), mobile subscriber number (mobile subscriber International ISDN/PSTN number, MSISND), reciprocity public land mobile network (rquivalent public Land mobile network, reciprocity public land mobile network), short message and address list etc..Terminal device is in starting SIM card Loading procedure when, terminal device can load the parameter value of all parameters in SIM card, and the load of all parameters is completed in SIM card Afterwards, terminal device is connected to specified common data according to the APN in APN list according to the information creating APN list of SIM card Net (public data network, PDN), so that terminal device realizes function of surfing the Net.
But it has been found that terminal device start-up loading SIM card process to data network establish connection when Between it is longer, usually at 3~8 seconds or so, such as: terminal device 3~8 seconds after reinserting SIM card could and data Network establishes connection, and networking takes a long time.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides embodiment below:
Fig. 2 is referred to, a kind of flow diagram of the connection method of data network is provided for the embodiment of the present application.Such as figure Shown in 2, the embodiment of the present application the method may include following steps:
S201, the loading procedure for starting SIM card.
In general, when SIM card is completed to initialize, modem (modem) answering to terminal device of terminal device The ready message of SIM card is sent with processor (application processor, AP), indicates that terminal device starts SIM card Loading procedure, the parameter of the loading procedure of SIM card for being stored in reading SIM card.
In the embodiment of the present application, the event of the loading procedure of triggering starting SIM card may is that terminal device in booting The loading procedure of triggering SIM card, terminal when loading procedure, the terminal device of triggering SIM card are inserted into SIM card under open state afterwards The loading procedure of SIM card is triggered when the parameter in SIM card in equipment updates, triggering when location updating occurs for terminal device The more new technological process of SIM card.
Parameter in SIM card, which occurs to update, generally includes the update event that the network equipment issues, such as: user subscribes to new industry Business, the network equipment issue update event to terminal device, can determine that there are the generations of the parameter in SIM card according to the update event It updates.
The update event that location updating occurs for terminal device generally includes the switching etc. of network when roaming, under the scene, Update event generation is had, state that terminal device belongs under roaming scence or information can be determined more based on the update event Newly, it is also desirable to reload the parameter in SIM card.
The parameter value of the target component stored in S202, reading SIM card creates APN collection according to the parameter value of target component It closes.
In general, target component is to be stored in SIM card for creating one or more parameters of APN set, target ginseng Several quantity is less than the quantity of all parameters stored in SIM card, therefore terminal device is after the loading procedure of starting SIM card, All parameters that can't be stored in reading SIM card, can only store in targeted reading SIM card for configuration of APN Target component.Such as: target component includes: one of IMSI, ICCID, SPN and GID or a variety of.The data class of APN set Type includes but is not limited to list, array, storehouse and chained list etc..Terminal can be according to the parameter value of target component in APN database The matched one or more APN of parameter value of middle screening and target component.
In one or more embodiments, it is configured with APN database in terminal device equipment, includes more in APN database Set of parameter needed for the APN of a operator, APN indicate connection PDN, terminal device are joined with the target read in SIM card Several parameter values is that index inquires associated one or more APN in APN database, according to the one or more inquired APN creates APN set.Such as: APN includes: access point name, proxy IP address, port numbers, protocol type, movement Device network code (mobile network code, MNC), mobile device country code (mobile country code, MCC one of) or a variety of.
In one or more embodiments, the parameter value of the target component stored in the SIM card is read, and according to institute State the parameter value creation APN set of target component, comprising: the parameter value of the mobile user identification stored in reading SIM card, In The matched one or more APN of parameter value with mobile user identification is inquired in APN database;If every in one or more APN A APN do not include MVNO parameter or including MVNO parameter be mobile user identification;APN collection is created according to one or more APN It closes.
Such as: mobile user identification is used to indicate the identity of user, and mobile user identification includes IMSI, and terminal device exists In SIM card read IMSI parameter value, according to the parameter value of IMSI determine MCC parameter value and MNC parameter value (i.e. PLMN's Parameter value), 2 APN inquired in APN database according to the parameter value of IMSI are as follows:
Table 1
In table 1, carrier indicates the title of access point, this can be modified to online and transmitting and receiving multimedia message It is not related, but is still configured according to customer requirement, in the parameter list that client gives, usually Profile Name this.Mcc (mobile country code, Mobile Country Code MCC) is country belonging to unique identification mobile subscriber, totally 3 Position, such as: Chinese mcc is 460.Mnc (mobile network code, Mobile Network Code), an operator can be same One country can have multiple mnc, most typically India, there are several hundred different mac and mcc in this country. Protocol indicates non-roaming agreement, and roaming_protocol indicates roaming agreement.
Terminal device determines do not include MVNO parameter in APN according to 2 APN inquired in table 1, and terminal device is according to looking into The 2 APN creation APN set ask.
Another example is: 2 APN inquired in APN database according to the parameter value of IMSI are as follows:
Table 2
Terminal device determines that the MVNO parameter for including in APN is only IMSI according to 2 APN inquired in table 1, and terminal is set It is standby to be gathered according to 2 APN inquired creation APN.
In one or more embodiments, the parameter value of the IMSI stored in terminal device reading SIM card, in APN data Inquired in library with the matched one or more APN of parameter value of IMSI, if one or more APN includes MVNO parameter, and MVNO Parameter includes the first parameter, the parameter value of the first parameter stored in reading SIM card, the screening and the in one or more APN The matched APN of the parameter value of one parameter creates APN set according to matched APN.
Such as: inquired in APN database according to the parameter value of the IMSI read in SIM card 2 of terminal device APN is are as follows:
Table 3
Terminal device determines to include the GID and SPN for being different from IMSI, terminal in APN according to 2 APN inquired in table 3 Equipment reads the parameter value of GID and SPN in SIM card, is screened in 2 APN according to the parameter value of GID and SPN matched APN creates APN set according to matched APN.
In one or more embodiments, the parameter value of the MVNO parameter stored in reading SIM card;In APN database The matched one or more APN of parameter value of inquiry and MVNO parameter creates APN set according to one or more APN.MVNO ginseng Number includes: one of IMSI, ICCID, SPN and GID or a variety of.
S203, the selection target APN in APN set, and connection is established with the data network of target APN instruction.
In general, including one or more APN in APN set, terminal device is selected from APN set according to preset rules One target APN is connected to data network, and preset rules may is that the number of each APN instruction in terminal device monitoring APN set According to the network quality of network, network quality includes but is not limited to: one of time delay, shake, bandwidth are a variety of, by network quality Optimal APN establishes connection as target APN, terminal device and target the APN data network indicated, realizes function of surfing the Net.
Implement embodiments herein, terminal device stores in reading SIM card when starting the loading procedure of SIM card The parameter value of target component, according to the parameter value of target component create APN set, and according to APN gather in target APN build Vertical network connection withouts waiting for creating APN set again after parameter load all in SIM card is completed, and in the prior art Compared with data network establishes connection, reducing the time for connecting upper data network after all parameters in load SIM card.
It is shown in Figure 3, for a kind of another process signal of the connection method of data network provided by the embodiments of the present application Figure, in the embodiment of the present application, which comprises
S301, when detecting the update event of SIM card, start the loading procedure of SIM card.
In general, update event includes: terminal device booting, terminal device is inserted into SIM card under open state, terminal is set Any one in update occurs for the parameter of the raw location updating of preparation and SIM card, and terminal device detects the update event of SIM card When, start the loading procedure of SIM card.
The parameter value of the IMSI stored in S302, reading SIM card.
In general, IMSI is mobile user identification, IMSI is for uniquely indicating that the identity of user, SIM card are held after the power-up Row initialization process, terminal device is after detecting that SIM card completes initialization process, the ginseng of the IMSI stored in reading SIM card Numerical value.IMSI by MCC, MNC and identification number of mobile subscriber (mobile subscriber identification number, MSIN it) forms.
Wherein, the resource of MCC is distributed unitedly and is managed, Wei Yishi in worldwide by International Telecommunication Union (ITU) Country belonging to other mobile subscriber, the length of MCC are generally 3, such as: Chinese MCC is 460.
Wherein, the MNC mobile radio communication that mobile subscriber is belonged to for identification, the length of MNC are usually 2~3.Same In one country, if there is multiple public land mobile networks (public land mobile network, PLMN), it can pass through MNC is distinguished, i.e., each PLMN will distribute unique MNC.Such as: the MNC that China Mobile's system uses be 00, 02,04,07, the MNC that China Unicom G is used are 01,06,09, and the MNC that China Telecom uses is 03,05.MNC is properly termed as again No. PLMN.The MSIN mobile subscriber in PLMN for identification.
S303, it is inquired and the matched one or more APN of parameter value of IMSI in APN database.
In general, being configured with APN database in terminal device, the APN of multiple operators, APN table are stored in APN data Set of parameter needed for showing connection PDN, APN includes: access point name, the IP address of proxy server, port numbers, protocol class One of type, MNC, MCC and MVNO parameter are a variety of.Terminal device is index in APN with the IMSI read in SIM card One or more APN of match query in database.In one or more APN for inquiring of terminal device identification whether include MVNO parameter.MVNO parameter includes: one of IMSI, ICCID, SPN and GID or a variety of.
S304, determine one or more APN in each APN do not include MVNO parameter or including MVNO parameter be IMSI.
Such as: the one or more APN inquired are as shown in table 1, and terminal device is according in 2 APN inquired in table 1 It does not include MVNO parameter.
Another example is: the one or more APN inquired are as shown in table 2, terminal device determines 2 APN inquired in table 2 In include MVNO parameter be IMSI.
S305, APN set is created according to one or more APN.
Wherein, one or more APN set that APN set is inquired comprising S303.
In S306, determining one or more APN include MVNO parameter and MVNO parameter includes the first parameter.
Wherein, the first parameter is the parameter different from IMSI, that is, the MVNO parameter that the one or more APN inquired include The first parameter including being different from IMSI.Such as: the first parameter is ICCID.
Such as: shown in Figure 3, terminal device determines to include being different from APN according to 2 APN inquired in table 3 The GID and SPN of IMSI.
The parameter value of the first parameter stored in S307, reading SIM card.
Wherein, terminal device sends the request for reading the parameter value of the first parameter to SIM card, and it is backward that SIM responds the request Terminal device returns to the parameter value of the first parameter.
S308, it is screened and the matched APN of parameter value of the first parameter in one or more APN.
In general, the one or more APN inquired include the first parameter, the ginseng for the first parameter that different APN includes Numerical value may not be identical, it is also possible to identical.Terminal device is according to the parameter value of the first parameter read in SIM card, one APN identical with the parameter value for reading the first parameter in SIM card is screened in a or multiple APN.
S309, APN set is created according to matched APN.
Wherein, APN set includes the APN being matched in S308.
The network quality of the data network of each APN instruction in S310, monitoring APN set.
Wherein, network quality includes one of time delay, shake and bandwidth or a variety of, and terminal device can be to setting in number The mode of test bag is sent according to the server in network to measure the network quality of the data network.
S311, connection is established with the optimal data network of network quality.
Implement embodiments herein, terminal device stores in reading SIM card when starting the loading procedure of SIM card The parameter value of IMSI, according to one or more APN of the parameter value of IMSI match query in APN database, judgement is inquired One or more APN in each APN do not include MVNO parameter or including MVNO parameter only include IMSI when, according to inquiring One or more APN creation APN set, according to APN gather in APN be connected to data network, to realize function of surfing the Net. It only includes IMSI that MVNO parameter or the MVNO parameter of configuration, which is not configured, in most APN in current APN database, and the application is real Apply example be firstly used in the IMIS read in SIM card parameter value take inquiry APN, can further reduce load for networking The quantity of parameter, to reduce the waiting time of networking.
It referring to fig. 4, is a kind of flow diagram of the connection method of data network provided by the embodiments of the present application, in this Shen Please be in embodiment, terminal device includes memory, application processor and modem, it is configured with APN database in memory, Application processor calls DcTracker service and IccRecords service to complete corresponding function, and include in terminal device is each Interactive process between a component and SIM card is as follows:
S401, modem initiate attachment flow.
In general, modem sends attachment flow to the network equipment, attachment flow is used to complete the attachment of packet domain, After being successfully attached to registered network, attachment result is reported to application processor.
To modem transmitter ready message, modem receives the preparation from SIM card for S402, SIM card Ready message.
Wherein, SIM card is after powering on completion initialization, to modem transmitter ready message, modulation /demodulation Device determines that SIM card performs the preparation of load parameter according to ready message.
S403, the loading procedure for starting SIM card.
Wherein, when modem detects the update event of SIM card, the loading procedure of SIM card, update event packet are triggered Include booting, be inserted under open state SIM card, occur location updating and SIM card parameter occur to update in any one, adjust When modulator-demodulator detects the update event of SIM card, start the loading procedure of SIM card.
S404, modem send the request for reading the parameter value of IMSI to SIM, and SIM card, which receives, comes from modulation /demodulation The request of the parameter value of the reading IMSI of device.
S405, modem send the parameter value of IMSI to SIM card, and modem receives the IMSI from SIM card Parameter value.
S406, modem send the parameter value of IMSI to application processor, and application processor, which receives, comes from modulatedemodulate Adjust the parameter value of the IMSI of device.
Wherein, application processor calls the parameter value of IMSI of the IccRecords service reception from modem.
S407, application processor send inquiry request to memory, and memory receives the inquiry from application processor and asks It asks.
Wherein, application processor call DcTracker service to memory send inquiry request, inquiry request be used for The parameter value of the IMSI read in SIM card is one or more APN of index match query in APN database.
S408, memory send query result to application processor, and application processor receives the inquiry knot from memory Fruit.
Wherein, application server calls DcTracker service to receive the query result from memory, and query result includes The one or more APN inquired.
S409, application processor determine that the APN inquired does not include MVNO parameter.
Wherein, whether application processor calls DcTracker service to judge in the APN inquired in S408 to include that MVNO joins Number, judging result be do not include MVNO parameter or including MVNO parameter only include IMSI.
S410, application processor are according to the APN creation APN set inquired.Wherein, application processor calls The DcTracker service execution step.
S411, application processor the selection target APN in APN set.Wherein, application processor calls DcTracker clothes Business executes the step.
S412, application processor send PDN to modem and establish request, and modem, which receives, carrys out self-application processing The PDN of device establishes request.Wherein, application processor calls the DcTracker service execution step.
S413, modem are connected to data network.
S414, modem send the request for reading the parameter value of other parameters to SIM card, and SIM card receives the request.
S415, SIM card send the parameter value of other parameters to modem, and modem is received from SIM card The parameter value of other parameters.
S416, modem send load to application processor and complete message, application processor receiving modem Load complete message.
Wherein, application processor calls IccRecords service to receive the load from modem and completes message, really The loading procedure for determining SIM card is finished.
Implement embodiments herein, terminal device stores in reading SIM card when starting the loading procedure of SIM card The parameter value of IMSI, according to one or more APN of the parameter value of IMSI match query in APN database, judgement is inquired One or more APN in each APN do not include MVNO parameter or including MVNO parameter only include IMSI when, according to inquiring One or more APN creation APN set, according to APN gather in APN be connected to data network, to realize function of surfing the Net. It only includes IMSI that MVNO parameter or the MVNO parameter of configuration, which is not configured, in most APN in current APN database, and the application is real Apply example be firstly used in the IMIS read in SIM card parameter value take inquiry APN, can further reduce load for networking The quantity of parameter, to reduce the waiting time of networking.
It is a kind of another flow diagram of the connection method of data network provided by the embodiments of the present application, In referring to Fig. 5 In the embodiment of the present application, terminal device includes memory, application processor and modem, is configured with APN number in memory According to library, application processor calls DcTracker service and IccRecords service to complete corresponding function, includes in terminal device All parts and SIM card between interactive process it is as follows:
S501, modem initiate attachment flow.
Wherein, the process of S501 can be found in the description of S401.
To modem transmitter ready message, modem receives the preparation from SIM card for S502, SIM card Ready message.
Wherein, the process of S502 can be found in the description of S402.
S503, the loading procedure for starting SIM card.
Wherein, the process of S503 can be found in the description of S403.
S504, modem send the request for reading the parameter value of IMSI to SIM card, and SIM card, which receives, comes from modulatedemodulate Adjust the request of device.
S505, SIM card send the parameter value of IMSI to modem, and modem receives the IMSI from SIM card Parameter value.
S506, modem send the parameter value of IMSI to application processor, and application processor, which receives, comes from modulatedemodulate Adjust the parameter value of the IMSI of device.Wherein, application processor calls IccRecords service to receive the IMSI from modem Parameter value.
S507, application processor send inquiry request to memory, and memory receives the inquiry from application processor and asks It asks.The process of S507 can be found in the description of S407.
S508, memory send query result to application processor, and application processor receives the inquiry knot from memory Fruit.
Wherein, the process of S508 can be found in the description of S408.
S509, application processor determine to include MVNO parameter in the APN of inquiry.
Wherein, wherein application processor call DcTracker service judge in the APN that is inquired in S408 whether include MVNO parameter, judging result includes MVNO parameter and MVNO parameter includes the other parameters different from IMSI.
S510, application processor send the request for reading the parameter value of MVNO parameter, modem to modem Receive the request from application processor.
Wherein, application server calls IccRecords service execution S510.
S511, modem send the request for reading the parameter of MVNO parameter to SIM card, and SIM card, which receives, carrys out automodulation The request of demodulator.
S512, SIM card send the parameter value of MVNO parameter to modem, and modem is received from SIM card The parameter value of MVNO parameter.
S513, modem send the parameter value of MVNO parameter to application processor, and application processor, which receives, carrys out self-regulated The parameter value of the MVNO parameter of modulator-demodulator.
Wherein, application server calls the parameter of MVNO parameter of the Iccrecords service reception from modem Value.
S514, application processor screen and the matched APN of parameter value of MVNO parameter in the APN of inquiry.
Wherein, application processor calls DcTracker service execution S514.
S515, application processor creation APN set, selection target APN.
Wherein, application processor calls DcTracker service execution S515.
S516, application processor send PDN to modem and establish request, and modem, which receives, carrys out self-application processing The PDN of device establishes request.
Wherein, application processor calls DcTracker service execution S516.
S517, modem are connected to data network.
S518, modem send the request for reading the parameter value of other parameters to SIM card, and SIM card, which receives, carrys out self-regulated The request of modulator-demodulator.
S519, SIM card send the parameter value of other parameters to modem, and modem is received from SIM card The parameter value of other parameters.
S520, modem send load to application processor and complete message, and application processor, which receives, comes from modulatedemodulate The load of device is adjusted to complete message.
Wherein, application processor calls IccRecords service to receive load and completes message.
Implement embodiments herein, terminal device stores in reading SIM card when starting the loading procedure of SIM card The parameter value of IMSI, according to one or more APN of the parameter value of IMSI match query in APN database, judgement is inquired One or more APN in each APN do not include MVNO parameter or including MVNO parameter only include IMSI when, according to inquiring One or more APN creation APN set, according to APN gather in APN be connected to data network, to realize function of surfing the Net. It only includes IMSI that MVNO parameter or the MVNO parameter of configuration, which is not configured, in most APN in current APN database, and the application is real Apply example be firstly used in the IMIS read in SIM card parameter value take inquiry APN, can further reduce load for networking Number of parameters, to reduce the waiting time of networking.
Shown in Figure 6, the embodiment of the present application provides a kind of another flow diagram of the connection method of data network, In the embodiment of the present application, which comprises
S601, when detecting the update event of SIM card, start the loading procedure of SIM card.
Wherein, the process of S601 can be found in the description of the S301 in Fig. 3, and details are not described herein again.
The parameter value of the MVNO parameter stored in S602, reading SIM card.
Wherein, MVNO parameter includes one of IMSI, ICCID, SPN and GID or a variety of.
S603, it is inquired and the matched one or more APN of parameter value of MVNO parameter in APN database.
Wherein, the process of S603 can be found in the description of the S303 in Fig. 3, and details are not described herein again.
S604, APN set is created according to one or more APN.
Wherein, the process of S604 can refer to the description of the S305 in Fig. 3, and details are not described herein again.
The network quality of the data network of each APN instruction in S605, detection APN set.
Wherein, the process of S605 can refer to the description of the S310 in Fig. 3, and details are not described herein again.
S606, connection is established with the optimal data network of data network.
Implement embodiments herein, terminal device stores in reading SIM card when starting the loading procedure of SIM card The parameter value of MVNO parameter, according to the parameter value of MVNO parameter create APN set, and according to APN gather in target APN build Vertical network connection withouts waiting for creating APN set again after parameter load all in SIM card is completed, and in the prior art Compared with data network establishes connection, reducing the time for connecting upper data network after all parameters in load SIM card.
Fig. 7 is participated in, is a kind of another flow diagram of the connection method of data network provided by the embodiments of the present application, In In the embodiment of the present application, terminal device includes memory, application processor and modem, is configured with APN number in memory According to library, application processor calls DcTracker service and IccRecords service to complete corresponding function, includes in terminal device All parts and SIM card between interactive process it is as follows:
S701, modem initiate attachment flow.
In general, modem sends attachment flow to the network equipment, attachment flow is used to complete the attachment of packet domain, After being successfully attached to registered network, attachment result is reported to application processor.
To modem transmitter ready message, modem receives the preparation from SIM card for S702, SIM card Ready message.
Wherein, SIM card is after powering on completion initialization, to modem transmitter ready message, modulation /demodulation Device determines that SIM card performs the preparation of load parameter according to ready message.
S703, the loading procedure for starting SIM card.
Wherein, when modem detects the update event of SIM card, the loading procedure of SIM card, update event packet are triggered Include booting, be inserted under open state SIM card, occur location updating and SIM card parameter occur to update in any one, adjust When modulator-demodulator detects the update event of SIM card, start the loading procedure of SIM card.
S704, modem send the request for reading the parameter value of MVNO parameter to SIM card, and SIM card, which receives, carrys out self-regulated The request of modulator-demodulator.
S705, SIM card send the parameter value of MVNO parameter to modem, and modem is received from SIM card The parameter value of MVNO parameter.
S706, modem send the parameter value of MVNO parameter to application processor, and application processor, which receives, carrys out self-regulated The parameter value of the MVNO parameter of modulator-demodulator.
Wherein, application processor calls the parameter of MVNO parameter of the IccRecords service reception from modem Value.
S707, application processor send inquiry request to memory, and memory receives the inquiry from application processor and asks It asks.
Wherein, application processor call DcTracker service to memory send inquiry request, inquiry request be used for The parameter value of the MVNO parameter read in SIM card is one or more APN of index match query in APN database.
S708, memory send query result to application processor, and application processor receives the inquiry knot from memory Fruit.
Wherein, application server calls DcTracker service to receive the query result from memory, and query result includes The one or more APN inquired.
S709, application processor are according to the APN creation APN set inquired.Wherein, application processor calls The DcTracker service execution step.
S710, application processor the selection target APN in APN set.Wherein, application processor calls DcTracker clothes Business executes the step.
S711, application processor send PDN to modem and establish request, and modem, which receives, carrys out self-application processing The PDN of device establishes request.Wherein, application processor calls the DcTracker service execution step.
S712, modem are connected to data network.
S713, modem send the request for reading the parameter value of other parameters to SIM card, and SIM card, which receives, carrys out self-regulated The request of modulator-demodulator.
S714, SIM card send the parameter value of other parameters to modem, and modem, which receives, comes from other parameters Parameter value.
S715, modem send load to application processor and complete message, and application processor, which receives, comes from modulatedemodulate The load of device is adjusted to complete message.
Implement embodiments herein, terminal device stores in reading SIM card when starting the loading procedure of SIM card The parameter value of MVNO parameter, according to the parameter value of MVNO parameter create APN set, and according to APN gather in target APN build Vertical network connection withouts waiting for creating APN set again after parameter load all in SIM card is completed, and in the prior art Compared with data network establishes connection, reducing the time for connecting upper data network after all parameters in load SIM card.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 8 is referred to, it illustrates the knots of the attachment device of the data network of one exemplary embodiment of the application offer Structure schematic diagram.The attachment device 8 (hereinafter referred to as device 8) can be become eventually by being implemented in combination with for software, hardware or both End all or part of.Device 8 includes start unit 801, creating unit 802 and connection unit 803.
Start unit 801, for starting the loading procedure of subscriber identification module SIM card.
Creating unit 802, for reading the parameter value of the target component stored in the SIM card, and according to the mesh Mark the parameter value creation access point name APN set of parameter;Wherein, the quantity of the target component is one or more, described For the quantity of target component less than the quantity of all parameters of SIM card storage, target component is the parameter for configuration of APN.
Connection unit 803, for the data in the APN Resource selection target APN, and with target APN instruction Network establishes connection.
In one or more embodiments, creating unit 802 is used for:
Read the parameter value of the mobile user identification stored in the SIM card;
The matched one or more APN of parameter value with the IMSI is inquired in APN database;
If in one or more of APN each APN do not include virtual operator's MVNO parameter or including MVNO parameter For mobile user identification;
APN set is created according to one or more of APN.
In one or more embodiments, creating unit 802 is used for:
Read the parameter value of the mobile user identification stored in the SIM card;
The matched one or more APN of parameter value with the mobile user identification is inquired in APN database;
If one or more of APN include MVNO parameter, and the MVNO parameter includes the first parameter;
Read the parameter value of the first parameter stored in the SIM card;
The matched APN of parameter value with first parameter is screened in one or more of APN;
APN set is created according to matched APN.
In one or more embodiments, creating unit 802 is used for:
Read the parameter value of the MVNO parameter stored in the SIM card;
The matched one or more APN of parameter value with the MVNO parameter is inquired in APN database;
APN set is created according to one or more of APN.
In one or more embodiments, MVNO parameter includes: international mobile subscriber identity IMSI, integrated circuit card knowledge One of other code ICCID, Internet Service Provider SPN and packet identification GID or a variety of.
In one or more embodiments, connection unit 803 is used for:
Monitor the network quality of the data network of each APN instruction in the APN set;
The APN for selecting network quality optimal is as the target APN.
In one or more embodiments, further includes: notification unit, all parameters for being stored in the SIM card After load is completed, load is sent to the ccf layer of terminal device and completes message;Wherein, the load is completed described in message expression All parameters load stored in SIM card is completed.Ccf layer can be Telephony ccf layer, and Telephony ccf layer includes DcTracker service and IccRecords service.
It should be noted that device 8 provided by the above embodiment execute data network connection method when, only with above-mentioned The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different Functional module is completed, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Partial function.In addition, the embodiment of the connection method of the attachment device and data network of data network provided by the above embodiment Belong to same design, embodies realization process and be detailed in embodiment of the method, which is not described herein again.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
The embodiment of the present application also provides a kind of computer storage medium, the computer storage medium can store more Item instruction, described instruction are suitable for being loaded by processor and being executed the method and step such as above-mentioned Fig. 2-embodiment illustrated in fig. 7, specifically hold Row process may refer to Fig. 2-embodiment illustrated in fig. 7 and illustrate, herein without repeating.
Present invention also provides a kind of computer program product, which is stored at least one instruction, At least one instruction is loaded as the processor and is executed the company to realize data network described in as above each embodiment Connect method.
Referring to Fig. 9, it illustrates the structural schematic diagram of terminal device 9 involved in the embodiment of the present application, which is set Standby 9 can be used for implementing the connection method of the data network provided in above-described embodiment.Specifically:
Terminal device 9 includes memory 920, processor 980 and modem (drawing in figure), and modem can To be arranged in processor 980, can also be arranged independently of processor 980, the embodiment of the present application is with no restriction.
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing various function application and data processing.Memory 920 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal device According to (such as audio data, phone directory etc.) etc..In addition, memory 920 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 920 can also include Memory Controller, to provide processor 980 and input unit 930 to memory 920 access.
Processor 980 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part, by running or execute the software program and/or module that are stored in memory 920, and using being stored in storage Data in device 920 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.It can Choosing, processor 980 may include one or more processing cores;Wherein, processor 980 can integrate application processor and modulatedemodulate Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
WiFi belongs to short range wireless transmission technology, and terminal device can help user to receive and dispatch electricity by WiFi module 970 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.
Specifically in the present embodiment, terminal device 9 includes memory and one or more than one program, In one perhaps more than one program be stored in memory and be configured to by one or more than one processor execution state One or more than one program include for executing channel scanning method described in Fig. 2 to Fig. 7.
The embodiment of the present application and the embodiment of the method for Fig. 2 to Fig. 7 are based on same design, bring technical effect also phase Together, detailed process can refer to the embodiment of the method for method Fig. 2 to Fig. 7, and details are not described herein again.
Optionally, terminal device 9 further includes display unit 940.Display unit 940 can be used for showing letter input by user It ceases or is supplied to the information of user and the various graphical user interface of terminal device, these graphical user interface can be by scheming Shape, text, icon, video and any combination thereof are constituted.Display unit 940 may include display panel 941, optionally, can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. forms configure display panel 941.Further, touching device 931 can cover display panel 941, After touching device 931 detects touch operation on it or nearby, processor 980 is sent to determine the class of touch event Type is followed by subsequent processing device 980 according to the type of touch event and provides corresponding visual output on display panel 941.Although in Fig. 9 In, touching device 931 and display panel 941 are to realize input and input function as two independent components, but at certain In a little embodiments, touching device 931 and display panel 941 can be integrated and realize and output and input function.
Optionally, terminal device 9 further include: input unit 930.Input unit 930 can be used for receiving input number or Character information, and generate keyboard related with user setting and function control, mouse, operating stick, optics or trace ball Signal input.Specifically, input unit 930 may include touching device 931 (such as: touch screen, touch tablet or touching box).It touches Device 931, also referred to as touch display screen or Trackpad collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touching device 931 or near touching device 931), And corresponding attachment device is driven according to preset formula.Optionally, touching device 931 may include touch detecting apparatus and Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give processor 980, and order that processor 980 is sent can be received and executed.Furthermore, it is possible to using The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touching device 931.
Optionally, terminal device 9 may include RF (Radio Frequency, radio frequency) circuit 910, include one or Memory 920, input unit 930, display unit 940, the sensor 950, audio of more than one computer readable storage medium Circuit 960, includes one or more than one processing core at WiFi (wireless fidelity, Wireless Fidelity) module 960 The components such as the processor 980 and power supply 990 of the heart.It will be understood by those skilled in the art that terminal device knot shown in Fig. 9 Structure does not constitute the restriction to terminal device, may include components more more or fewer than diagram, or combine certain components, or The different component layout of person.Wherein:
RF circuit 910 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 980 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 910 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, including but not limited to 3GPP (3rd Generation Partnership Project, third For partner program, abbreviation 3GPP), 3GPP2 ((3rd Generation Partnership Project 2, the third generation close Make Partnership Program 2, abbreviation 3GPP2)), UMTS (Universal Mobile Telecommunications System, it is general Mobile communication system, abbreviation UMTS), LTE (Long Term Evolution, long term evolution, abbreviation LTE), LTE-A (LTE- Advanced, long-term evolution upgrading version, abbreviation LTE-A), WIMAX ((Worldwide Interoperability for Microwave Access, worldwide interoperability for microwave accesses, abbreviation WIMAX), HSDPA (High Speed Downlink Packet Access, high-speed slender body theory, abbreviation HSDPA), HSUPA (High Speed Uplink Packet Access, high speed Upstream packet access, abbreviation HSUPA), TDMA (Time Division Multiple Access, time division multiple acess access, referred to as TDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access, abbreviation WCDMA), GSM (Global System for Mobile Communication, global system for mobile communications, abbreviation GSM, electricity Sub- mail, SMS (Short Messaging Service, short message service) etc..
Optionally, terminal device 9 may also include at least one sensor 950, for example, optical sensor, motion sensor and Other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can Adjust the brightness of display panel 941 according to the light and shade of ambient light, proximity sensor can when terminal device is moved in one's ear, Close display panel 941 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal device when static The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of posture, (such as the step counting of Vibration identification correlation function Device, percussion) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as terminal device etc. its His sensor, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and terminal device.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to by loudspeaker 961 by frequency circuit 960 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is received by voicefrequency circuit 960 After be converted to audio data, then by after the processing of audio data output processor 980, be sent to through RF circuit 910 such as another Terminal device, or audio data is exported to memory 920 to be further processed.Voicefrequency circuit 960 is also possible that ear Tip jack, to provide the communication of peripheral hardware earphone and terminal device.
Optionally, terminal device 9 further includes the power supply 990 (such as battery) powered to all parts, wherein power supply can be with It is logically contiguous by power-supply management system and processor 980, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.Power supply 990 can also include one or more direct current or AC power source, recharging system, The random components such as power failure detection circuit, power adapter or inverter, power supply status indicator.
Optionally, terminal device 9 can also include camera 991, bluetooth module etc., wherein camera 991 was used for week Environmental exposure is enclosed to obtain frame image, and in a kind of mode, which passes to the parameter for the frame image that exposure obtains Processor 980 generates the picture that can show user so that the processor 980 processing such as denoises, enhances to the frame image; In another optional scheme, which has carried image processor chip, which can be to the frame Image does preliminary treatment, and processed data is being passed to the processor 980 so that should after doing preliminary treatment to the frame image 980 final production of processor can show the image of user.Further, the quantity of the camera 991 can be one It can be multiple.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the application, cannot limit the power of the application with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the application Benefit requires made equivalent variations, still belongs to the scope covered by the invention.

Claims (10)

1. a kind of connection method of data network, which is characterized in that the described method includes:
Start the loading procedure of subscriber identification module SIM card;
The parameter value of the target component stored in the SIM card is read, and is connect according to the creation of the parameter value of the target component Access point title APN set;Wherein, the quantity of the target component is one or more, and the quantity of the target component is less than institute The quantity of all parameters of SIM card storage is stated, the target component is the parameter for configuration of APN;
Connection is established in the APN Resource selection target APN, and with the data network of target APN instruction.
2. the method according to claim 1, wherein the target component that is stored in the SIM card of reading Parameter value, and APN set is created according to the parameter value of the target component, comprising:
Read the parameter value of the mobile user identification stored in the SIM card;
The matched one or more APN of parameter value with the mobile user identification is inquired in APN database;
If in one or more of APN each APN do not include virtual operator's MVNO parameter or including MVNO parameter for move Dynamic user identifier;
APN set is created according to one or more of APN.
3. the method according to claim 1, wherein the target component that is stored in the SIM card of reading Parameter value, and APN set is created according to the parameter value of the target component, comprising:
Read the parameter value of the mobile user identification stored in the SIM card;
The matched one or more APN of parameter value with the mobile user identification is inquired in APN database;
If one or more of APN include MVNO parameter, and the MVNO parameter includes the first parameter;
Read the parameter value of the first parameter stored in the SIM card;
The matched APN of parameter value with first parameter is screened in one or more of APN;
APN set is created according to matched APN.
4. the method according to claim 1, wherein the target component that is stored in the SIM card of reading Parameter value, and APN set is created according to the parameter value of the target component, comprising:
Read the parameter value of the MVNO parameter stored in the SIM card;
The matched one or more APN of parameter value with the MVNO parameter is inquired in APN database;
APN set is created according to one or more of APN.
5. according to method described in claim 2-4 any one, which is characterized in that MVNO parameter includes: international mobile subscriber One of identification code IMSI, integrated circuit card identification code ICCID, Internet Service Provider SPN and packet identification GID or more Kind.
6. according to the method described in claim 5, it is characterized in that, APN set in selection target APN, comprising:
Monitor the network quality of the data network of each APN instruction in the APN set;
The APN for selecting network quality optimal is as the target APN.
7. according to the method described in claim 6, it is characterized in that, described in APN Resource selection the target APN, Yi Jiyu The data network of the target APN instruction is established after connection, further includes:
After all parameters load stored in the SIM card is completed, load is sent to the ccf layer of terminal device and completes to disappear Breath;Wherein, message is completed in the load indicates that all parameters stored in the SIM card load is completed.
8. a kind of attachment device of data network characterized by comprising
Start unit, for starting the loading procedure of subscriber identification module SIM card;
Creating unit, for reading the parameter value of the target component stored in the SIM card, and according to the target component Parameter value creates access point name APN set;Wherein, the quantity of the target component is one or more, the target component Quantity less than the SIM card storage all parameters quantity, the target component is the parameter for configuration of APN;
Connection unit, for being established in the APN Resource selection target APN, and with the data network of target APN instruction Connection.
9. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with a plurality of instruction, described instruction Suitable for being loaded by processor and being executed the method and step such as claim 1~7 any one.
10. a kind of terminal device characterized by comprising processor, modem and memory;Wherein, the memory It is stored with computer program, the computer program is suitable for being loaded by the processor and being executed as claim 1~7 is any one The method and step of item.
CN201910767480.7A 2019-08-20 2019-08-20 Data network connection method, device, storage medium and terminal equipment Active CN110493771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910767480.7A CN110493771B (en) 2019-08-20 2019-08-20 Data network connection method, device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910767480.7A CN110493771B (en) 2019-08-20 2019-08-20 Data network connection method, device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN110493771A true CN110493771A (en) 2019-11-22
CN110493771B CN110493771B (en) 2023-01-20

Family

ID=68552153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910767480.7A Active CN110493771B (en) 2019-08-20 2019-08-20 Data network connection method, device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110493771B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343627A (en) * 2020-03-04 2020-06-26 RealMe重庆移动通信有限公司 Network registration method and device and terminal equipment
CN111726776A (en) * 2020-06-30 2020-09-29 湖北亿咖通科技有限公司 Automatic network dialing parameter identification method of Internet of vehicles equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764044A (en) * 2016-04-25 2016-07-13 中国联合网络通信集团有限公司 APN configuration method and apparatus thereof
CN106413039A (en) * 2016-10-31 2017-02-15 努比亚技术有限公司 APN adaptive configuration device and method
CN109890066A (en) * 2019-03-28 2019-06-14 努比亚技术有限公司 APN parameter configuration method, device, mobile terminal and readable storage medium storing program for executing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764044A (en) * 2016-04-25 2016-07-13 中国联合网络通信集团有限公司 APN configuration method and apparatus thereof
CN106413039A (en) * 2016-10-31 2017-02-15 努比亚技术有限公司 APN adaptive configuration device and method
CN109890066A (en) * 2019-03-28 2019-06-14 努比亚技术有限公司 APN parameter configuration method, device, mobile terminal and readable storage medium storing program for executing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343627A (en) * 2020-03-04 2020-06-26 RealMe重庆移动通信有限公司 Network registration method and device and terminal equipment
CN111343627B (en) * 2020-03-04 2022-12-23 RealMe重庆移动通信有限公司 Network registration method and device and terminal equipment
CN111726776A (en) * 2020-06-30 2020-09-29 湖北亿咖通科技有限公司 Automatic network dialing parameter identification method of Internet of vehicles equipment
CN111726776B (en) * 2020-06-30 2021-08-27 湖北亿咖通科技有限公司 Automatic network dialing parameter identification method of Internet of vehicles equipment

Also Published As

Publication number Publication date
CN110493771B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
WO2019024604A1 (en) Method and device for associating application with network slice, and communication system
CN103475996B (en) Method for connecting network, network share method and device
CN103458408A (en) Network connection method and network sharing method and device
KR102305807B1 (en) Communication method and device
US20210232447A1 (en) Method for managing multiple operating systems in a terminal
CN103489303B (en) A kind of remote control thereof and device
CN106506728B (en) A kind of access point name configuration method and mobile terminal
CN106714207B (en) A kind of information processing method and terminal device
CN107508715B (en) Configuration information acquisition, processing method, device and system
CN109151950B (en) Access control method, network equipment and terminal equipment
CN105898839B (en) Communication network cut-in method and device
CN110234152A (en) Channel scanning method, device, storage medium and electronic equipment
CN105847168A (en) Data transmission method, network server, user terminal and system
CN104581993B (en) It is wirelessly connected the method and terminal of the method established, data transmission
CN107682338A (en) Obtain, the methods, devices and systems of processing configuration information
CN106888495A (en) A kind of method for network access and terminal
CN108965071A (en) Household terminal control method, communication processing equipment, household terminal and storage medium
CN103491421B (en) Content displaying method, device and intelligent television
CN105704712A (en) Network resource sharing method, mobile terminal, and server
CN106161147B (en) Establish the method and device of network connection
CN106791084A (en) The synchronous method and mobile terminal of personalizing parameters
CN110493771A (en) Connection method, device, storage medium and the terminal device of data network
CN110072279A (en) A kind of method and terminal of network registry pattern switching
CN105744602B (en) Communication network cut-in method and device
CN111641976A (en) Data transmission method, terminal equipment and network equipment

Legal Events

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