CN106454963B - Method and device for establishing PDP (packet data protocol) connection - Google Patents

Method and device for establishing PDP (packet data protocol) connection Download PDF

Info

Publication number
CN106454963B
CN106454963B CN201510489680.2A CN201510489680A CN106454963B CN 106454963 B CN106454963 B CN 106454963B CN 201510489680 A CN201510489680 A CN 201510489680A CN 106454963 B CN106454963 B CN 106454963B
Authority
CN
China
Prior art keywords
pdp connection
network parameter
pdp
sim card
connection identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510489680.2A
Other languages
Chinese (zh)
Other versions
CN106454963A (en
Inventor
周允
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510489680.2A priority Critical patent/CN106454963B/en
Priority to PCT/CN2015/089172 priority patent/WO2016145800A1/en
Publication of CN106454963A publication Critical patent/CN106454963A/en
Application granted granted Critical
Publication of CN106454963B publication Critical patent/CN106454963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/02Inter-networking arrangements

Landscapes

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

Abstract

The embodiment of the invention discloses a method for establishing Packet Data Protocol (PDP) connection, which comprises the following steps: presetting a PDP connection identifier; and when a hotspot opening instruction is received, establishing PDP connection according to the PDP connection identifier, thereby improving the PDP connection efficiency of the hotspot sharing service and increasing the user experience.

Description

Method and device for establishing PDP (packet data protocol) connection
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for establishing Packet Data Protocol (PDP) connection.
Background
In the process of implementing the technical solution of the embodiment of the present application, the inventor of the present application finds at least the following technical problems in the related art:
the existing mobile terminal can be inserted with Subscriber Identity Module (SIM) cards of different countries and different operators. Different mobile phone cards use different Access Point Names (APNs), and SIM card data traffic of some operators cannot be shared with the same software version, mainly because different operators use different servers for sharing. Thus, hotspot sharing needs to be compatible.
For the hot spot sharing service, Packet Data Protocol (PDP) connections established by different APNs during sharing service are different, and in the existing establishing process of sharing service, when a hot spot is opened, a judgment of establishing a PDP connection is required according to an APN, specifically, a judgment of using a default type PDP connection or using a dial-up network type PDP connection is judged according to the APN of a SIM card, so that the established PDP connection is used for sharing service; thus, the efficiency of establishing a PDP connection is affected.
Therefore, it is necessary to provide a method and an apparatus for establishing a PDP connection, so as to improve the PDP connection efficiency of the hotspot sharing service and increase the user experience.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a method and an apparatus for establishing a PDP connection, so as to improve the PDP connection efficiency of a hotspot sharing service and increase user experience.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for establishing PDP connection, which comprises the following steps:
presetting a PDP connection identifier;
and when a hotspot opening instruction is received, establishing PDP connection according to the PDP connection identifier.
In an embodiment, the method further comprises:
when establishing connection with a mobile data network, a PDP connection identifier is preset.
In one embodiment, the preset PDP connection identifier includes;
acquiring a first network parameter of a current first SIM card, and comparing the first network parameter with a stored network parameter list;
and when the first network parameter of the second network parameter in the stored network parameter list is different from the stored second network parameter, configuring the PDP connection identifier.
In one embodiment, the configuring the PDP connection identifier includes:
activating a dialing network DUN type PDP connection;
and generating the PDP connection identifier according to the activation result and storing the PDP connection identifier.
In one embodiment, the step of storing the PDP connection identifier comprises:
acquiring a first network parameter of a current first SIM card of the terminal;
and associating the PDP connection identifier with the first network parameter, and storing the PDP connection identifier in a stored network parameter list.
In an embodiment, the preset PDP connection identifier further includes:
when a second network parameter identical to the first network parameter exists in the stored network parameter list,
and taking the PDP connection identifier with the same second network parameters as the PDP connection identifier of the first SIM card.
The embodiment of the invention also provides a device for establishing the connection of the packet data protocol PDP, which comprises the following components: a preset module and a connecting module, wherein,
the preset module is used for presetting a PDP connection identifier;
and the connection module is used for establishing PDP connection according to the PDP connection identifier when receiving the hotspot opening instruction.
In an embodiment, the preset module is further configured to:
when establishing connection with a mobile data network, a PDP connection identifier is preset.
In one embodiment, the preset module comprises:
the comparison submodule is used for acquiring a first network parameter of the current first subscriber identity module SIM card and comparing the first network parameter with a stored network parameter list;
and the first configuration submodule is used for configuring the PDP connection identifier when the first network parameter of the second network parameter in the stored network parameter list is different from the stored second network parameter.
In an implementation manner, the first configuration module is specifically configured to:
activating a dialing network DUN type PDP connection;
and generating the PDP connection identifier according to the activation result and storing the PDP connection identifier.
In an embodiment, the first configuration module is further configured to:
acquiring a first network parameter of a current first SIM card of the terminal;
and associating the PDP connection identifier with the first network parameter, and storing the PDP connection identifier in a stored network parameter list.
In one embodiment, the preset module further comprises: and the second configuration submodule is used for taking the PDP connection identifier with the same second network parameter as the PDP connection identifier of the first SIM card when the second network parameter with the same first network parameter exists in the stored network parameter list.
The method for establishing the PDP connection comprises the following steps: acquiring a first network parameter of a current SIM card; acquiring a PDP (plasma display panel) connection identifier of the SIM card according to the first network parameter; and controlling and activating the PDP connection corresponding to the SIM card according to the PDP connection identifier. The method for establishing the PDP connection can directly establish the PDP connection corresponding to the terminal according to the preset PDP connection identifier when the hotspot is opened, and the PDP connection is carried out by judging the APN information of the SIM card before the PDP connection to adapt to the PDP connection suitable for the SIM card without opening the hotspot each time, so that the PDP connection efficiency of hotspot sharing service is improved, the system load is effectively reduced, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating a method for establishing a PDP connection according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for establishing a PDP connection according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for presetting a PDP connection identifier according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for establishing a PDP connection according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for establishing a PDP connection according to a fourth embodiment of the present invention.
Detailed Description
The following describes the embodiments in further detail with reference to the accompanying drawings.
Example one
The embodiment provides a method for establishing a PDP connection, which is applied to a terminal such as a mobile phone and a router, and as shown in fig. 1, the method includes:
s101, presetting a PDP connection identifier;
here, the PDP connection identifier may be preset when the terminal establishes a connection with the mobile data network. When a mobile network data switch of the terminal is opened, the terminal keeps connection with a PDP (packet data protocol) connection of a mobile data network, and at the moment, whether the terminal has a PDP connection identifier corresponding to the network type of the current SIM card or not can be determined to determine the type of the PDP connection established when the hotspot is opened.
Specifically, the preset PDP connection identifier may include: acquiring a first network parameter of a current first SIM card, and comparing the first network parameter with a stored network parameter list; and when a second network parameter which is the same as the first network parameter exists in the stored network parameter list, taking the PDP connection identifier which is the same as the second network parameter as the PDP connection identifier of the first SIM card. Taking the MCC and MNC of the current SIM card as 460 and 02 respectively as an example, judging whether 460 and 02 exist in a pre-stored network parameter list, and if so, taking the PDP connection identifiers of 460 and 02 in the network parameter list as the PDP connection identifier of the current SIM card.
Specifically, the preset PDP connection identifier may further include: acquiring a first network parameter of a current first SIM card, and comparing the first network parameter with a stored network parameter list; and when the first network parameter of the second network parameter in the stored network parameter list is different from the stored second network parameter, configuring the PDP connection identifier. Here, the first Network parameter is a Network parameter of the current SIM card, and the Network parameter may include a Mobile Country Code (MCC), a Mobile Network Code (MNC), and other Network parameters for identifying the operator of the SIM card. The second network parameter is the same as the first network parameter in type, except that the first network parameter is the network parameter of the current SIM card, and the second network parameter is the network parameter stored in the terminal.
Preferably, the configuring the PDP connection identifier includes: activating a Packet Data Protocol (PDP) connection of a dialing network (DUN) type; and generating the PDP connection identifier according to the activation result and storing the PDP connection identifier. Specifically, when the DUN type PDP connection can be activated, the PDP connection identifier is set to the DUN type; otherwise, setting the PDP connection identifier as a default type. And attempting to deactivate the DUN-type PDP connection according to the APN information of the current SIM card, setting the PDP connection identifier of the SIM card to be the DUN type when receiving a response of successfully establishing the connection, indicating that the activation of the DUN-type PDP connection fails when not receiving the response of establishing the connection or receiving the response carrying an error code, and setting the PDP connection identifier of the SIM card to be a default type.
Wherein, the step of storing the PDP connection identifier comprises the following steps: acquiring a first network parameter of a current first SIM card of the terminal; and associating the PDP connection identifier with the first network parameter, and storing the PDP connection identifier in a stored network parameter list.
Taking the MCC and MNC of the current SIM card as 460 and 02 respectively as an example, determining whether 460 and 02 exist in a pre-stored network parameter list, when the 460 and 02 do not exist, trying to activate the DUN type PDP connection, when the activation is successful, the PDP connection of the current SIM card is the DUN type, associating and storing the 460 and 02 and the DUN type, and setting the PDP connection identifier of the SIM card with the MCC and MNC of 460 and 02 respectively as the DUN type; when the activation fails, the PDP connection of the current SIM card is of a default type, and 460 and 02 are stored in association with the default type. The PDP connection id of SIM cards with MCC and MNC of 460 and 02, respectively, is set to a default type.
Further, configuring the PDP connection identifier in the embodiment of the present invention may further include: determining whether APN information of a dialing network DUN type exists; activating a DUN-type PDP connection when the APN information of the DUN type exists; when the PDP of the DUN type is activated successfully, setting the PDP connection identifier of the SIM card to be the DUN type; otherwise, setting the PDP connection identifier of the SIM card as a default type; and when the APN information of the DUN type does not exist, setting the PDP connection identifier of the SIM card as a default type.
Similarly, taking the MCC and MNC of the current SIM card as 460 and 02 respectively as an example, acquiring all APN information of the current SIM card, and after acquiring all APN information of the APN, searching whether APN information of DUN type exists; when APN information of the DUN type exists, a PDP connection request of the DUN type is sent to activate PDP connection of the DUN type, when a response of successfully establishing connection is received, a PDP connection identifier of the SIM card is set to be the DUN type, and PDP connection identifiers of SIM cards with MCC and MNC respectively being 460 and 02 are set to be the DUN type; when the response of connection establishment is not received or the response carrying the error code is received, it indicates that activating the DUN type PDP connection fails, or when there is no DUN type APN information, the PDP connection identifier of the SIM card is set to the default type, and the PDP connection identifiers of SIM cards with MCC and MNC of 460 and 02, respectively, are set to the default type.
And when the terminal is inserted into the SIM card, acquiring all APN information of the current SIM card. Here, the APN information of the SIM card may be matched by the terminal itself to all APN information of the current operator and stored in the terminal. Of course, in the embodiment of the present invention, the APN information acquisition method is not limited, and may also be acquired by other methods, such as reading an identifier of a corresponding operator, and acquiring all APN information of the operator from a database corresponding to the terminal system according to the identifier of the operator. However, in the embodiment of the present invention, the terminal matching is used as an optimal mode, so that the terminal can be prevented from interacting with the network side and repeatedly performing matching before the hotspot is opened.
The MCC and MNC are 460 and 02 respectively and the corresponding PDP connection identifier is stored in a network parameter list, so that the PDP connection identifier of the network parameter type can be directly acquired when the terminal uses the SIM card with the same network parameter next time.
It should be noted that, in the embodiment of the present invention, the form of the PDP connection identifier is not particularly limited, for example, when the identifier is 0001, the PDP connection is a DUN type PDP connection, and when the identifier is 0000, the PDP connection is a default type PDP connection. And also a DUN type PDP connection when identified as DUN and a default type PDP connection when identified as default.
And S102, when receiving the hotspot opening instruction, establishing PDP connection according to the PDP connection identifier.
And when the user opens the hot spot function and the terminal receives the hot spot opening instruction, the terminal establishes the PDP connection, and at the moment, the establishment of the PDP connection is controlled according to the PDP connection identifier acquired in the S101. Specifically, the type of the PDP connection to be established is determined according to the PDP connection identifier; and controlling the PDP connection corresponding to the SIM card according to the type of the PDP connection.
It should be noted that, in the embodiment of the present invention, two PDP connections may exist at the same time, so that when establishing a connection with a mobile data network, even when a current terminal is performing data services using a PDP connection of a default type, for example, performing data services through a browser, a PDP connection of a DUN type may be activated while maintaining the PDP connection of the current default type. When the PDP connection type is the DUN type, the DUN type PDP connection is established when the hotspot service is carried out, and a new PDP connection can be established while the current default type PDP connection exists. Therefore, when the hotspot sharing service is carried out, two PDP connections exist at the same time.
Therefore, in the method for PDP connection provided in the embodiment of the present invention, determining the PDP connection identifier of the current SIM card according to whether the network parameter of the current SIM card of the terminal is stored in the terminal, specifically, whether the PDP connection identifier of the SIM card of the network parameter type is stored in the terminal includes:
(1) and if the PDP connection identifier corresponding to the current SIM card is not stored in the terminal currently, determining and storing the PDP connection identifier of the current SIM card in a mode of trying to activate the DUN-type PDP connection, and directly using the stored PDP connection identifier as the PDP connection identifier of the current SIM card.
(2) And if the PDP connection identifier corresponding to the current SIM card is currently stored in the terminal, directly taking the stored PDP connection identifier as the PDP connection identifier of the current SIM card.
In practical application, the method for establishing a PDP connection according to the embodiment of the present invention may be used to perform a data sharing service when a terminal is used as a hotspot, and when the terminal performs the data sharing service (network sharing service), whether a DUN type PDP connection is newly established is controlled according to a stored PDP connection identifier, network card information of the DUN type PDP connection is acquired, and the terminal is controlled to establish the DUN type PDP connection according to the network card information. I.e. before the hotspot of the terminal is opened, a suitable configuration has been made. An attempt may be made to determine whether a DUN type PDP was successfully activated based on the configured determination.
The embodiment of the invention and the existing PDP connection method judge whether a dialing PDP (DUN type) needs to be activated again or not, the judging time is different, and proper configuration is already made before a mobile phone hotspot is opened. An attempt is made to determine whether a DUN type PDP has been successfully activated. For the common user often uses one or two SIM cards on average, when the terminal reinserts one SIM card, the reinserted SIM card is the same SIM card inserted before or the SIM card of the same operator, and the method for establishing the PDP connection provided by the embodiment of the invention can avoid repeatedly judging what PDP connection needs to be established. Therefore, for the same type of SIM card, the judgment is already made, and the repeated judgment process is not carried out. It can be intuitively determined whether the sharing is a PDP connection of a default type or a new different PDP connection needs to be reactivated according to the APN information provided by a certain operator.
In the embodiment of the present invention, preferably, the hotspot sharing is a WIFI sharing function, and meanwhile, the hotspot sharing also includes USB sharing, bluetooth sharing, and other hotspot sharing, which is not limited in the embodiment of the present invention.
Example two
In the second embodiment, a specific scenario in which a mobile phone shares network data is taken as an example to further explain the method for establishing a PDP connection provided in the second embodiment of the present invention, as shown in fig. 2, the method includes:
s201, after the terminal is started, all APN information is obtained.
And when the mobile phone is inserted into the SIM card, all APN information of the SIM card can be acquired through the original process of matching all APNs of the current operator by Google in the terminal.
Here, when the SIM card is replaced in the mobile phone, all APN information of the operator corresponding to the current SIM card is re-matched.
S202, connection is established with the mobile data network.
And after the mobile phone is successfully injected into the network, the mobile phone enters a normal use state. When a user opens a data flow switch of the mobile phone, the mobile phone receives a data flow opening command and establishes connection with a mobile network, and at the moment, the terminal has the condition of performing data service through default PDP connection.
And S203, presetting a PDP connection identifier according to the network parameters of the current SIM card.
When the connection with the mobile network is established and the data is successfully activated, the MCC, MNC and other network parameters of the SIM card can be acquired, the PDP connection identifier of the SIM card is preset according to the acquired network parameters, and the preset PDP connection identifier can be stored in a database mode.
When the terminal stores the PDP connection identifier corresponding to the network parameter of the current SIM card, the PDP connection identifier corresponding to the network parameter is directly acquired for storage. And when the terminal does not store the PDP connection identifier corresponding to the network parameter of the current SIM card, configuring the PDP connection identifier of the SIM card in an attempt activation mode.
When the terminal does not store the PDP connection identifier corresponding to the network parameter of the current SIM card, there is a special case that when the user uses the hotspot function for the first time, the terminal does not store any relationship between the network parameter and the PDP connection, and the method for pre-setting the PDP connection including the hotspot function used by the user for the first time is specifically described in embodiment three.
And determining whether the type of the PDP connection of the SIM card is a default type or a DUN type according to a preset PDP connection identifier, directly activating the PDP connection of the default type in a mobile phone system for data transmission without establishing a new PDP connection when the type is the default type, and establishing the new PDP connection when the type is the DUN type to complete the establishment of the PDP connection of the DUN type.
And S204, when receiving the hotspot opening instruction, establishing PDP connection according to the preset PDP connection identifier.
When the user opens the hotspot sharing, the mobile phone receives the hotspot opening instruction to perform hotspot sharing service, and establishes a PDP connection according to the PDP connection identifier preset in S203. When the PDP connection type is the default type, only the PDP connection of the default type of the mobile phone system needs to be activated, and at this time, there is one PDP connection. When the PDP connection type is the DUN type, a DUN type PDP connection is established, and a new PDP connection may be established while the default type PDP connection exists, and at this time, two PDP connections may exist.
EXAMPLE III
In the third embodiment, the method for presetting the PDP connection identifier in S203 in the second embodiment is further described, at this time, when the user has opened the data traffic switch of the mobile phone, the mobile phone receives the data traffic opening command, and establishes a connection with the mobile network; in step 201, the APN information of the current SIM card owned by the operator is automatically matched. And the user can check the matched APN information in the mobile phone setting. As shown in fig. 3, includes:
s301, judging whether the hot spot is opened for the first time; if not, executing S302, if yes, executing S304;
when the mobile phone makes a hot spot for the first time, the SIM card is not inserted into the mobile phone before the mobile phone does not perform hot spot sharing service, so that the PDP connection identifier of the network parameter of any SIM card is not stored;
s302, judging whether the current SIM card and the previously inserted SIM card are the SIM cards of the same network type. If yes, executing S303; if not, executing S304;
and judging whether the current SIM card and the previously inserted SIM card are the SIM cards of the same network type or not according to the network parameters MCC and MNC of the current SIM card and the previously inserted SIM card.
And S303, adopting the PDP connection identifier saved before.
When the network parameters MCC and MNC of the current SIM card and the previously inserted SIM card are identical, that is, when the network parameters of the current SIM card exist in the network parameter list stored in the terminal, it may be determined that the current SIM card and the previously inserted SIM card are the same network type SIM card. The PDP connection identifier associated with the network parameter which is the same as the network parameter of the current SIM card can be obtained and used as the PDP connection identifier of the current SIM card.
S304, trying to activate the DUN type PDP connection according to the APN information of the current SIM card, and obtaining the PDP connection identifier of the SIM card according to the activation result.
Attempting to activate a DUN type PDP connection; when the activation is successful, setting the PDP connection type of the SIM card as a DUN type, and indicating that the hotspot needs to use the DUN type PDP connection for sharing service; and when the SIM card is not successfully activated, setting the PDP connection type of the SIM card as a default type, which indicates that the hotspot needs to use the PDP connection of the default type to share the service.
It should be noted that if the general terminal is not used for the first time, S301 may be omitted, and after S202 is executed, the process proceeds directly to S302.
In the embodiment of the present invention, in step 202, the PDP connection is activated by an attempted method to determine the PDP connection identifier of the SIM card, and the PDP connection identifier is stored after the determination, and when the hotspot is opened, the PDP connection is directly performed according to the preset PDP connection identifier. In practical use, when the terminal does not store the PDP connection identifier corresponding to the network parameter of the current SIM card, and when the PDP connection identifier corresponding to the current SIM card is obtained by attempting activation, the network parameter of the current SIM card and the PDP connection identifier are stored in association, and the network type corresponding to the network parameter and the PDP connection type corresponding to the network type are bound for the next time, the SIM card of the same network type is inserted for PDP connection and direct acquisition.
By the method for connecting the PDP provided by the embodiment of the invention, the type of the PDP connection required to be used by the SIM card is determined by directly acquiring the PDP connection identifier, whether another DUN-type PDP connection needs to be activated again is determined, and meanwhile, the time for re-establishing the PDP connection established by the SIM card is actually carried out before the hot spot is opened by judging the type of the PDP connection established by the SIM card in the embodiment of the invention, so that the hot spot opening efficiency is improved, and the user experience is improved.
Example four
To implement the foregoing method, an embodiment of the present invention provides an apparatus for establishing a PDP connection, as shown in fig. 4, including:
a presetting module 401, configured to preset a PDP connection identifier;
the provisioning module 401 is further configured to: when establishing connection with a mobile data network, a PDP connection identifier is preset.
A connection module 402, configured to establish a PDP connection according to the PDP connection identifier when a hotspot opening instruction is received.
As shown in fig. 5, the preset module 401 includes: a comparison submodule 4011 and a first configuration submodule 4012;
the comparison submodule 4011 is configured to obtain a first network parameter of the current first subscriber identity module SIM card, and compare the first network parameter with a stored network parameter list; the first configuring sub-module 4012 is configured, when the first network parameter in the stored network parameter list is different from the stored second network parameter, to configure the PDP connection identifier.
The first configuration module 4012 is specifically configured to: activating a dialing network DUN type PDP connection; and generating the PDP connection identifier according to the activation result and storing the PDP connection identifier.
The first configuration module 4012 is further configured to: acquiring a first network parameter of a current first SIM card of the terminal; and associating the PDP connection identifier with the first network parameter, and storing the PDP connection identifier in a stored network parameter list.
As shown in fig. 5, the preset module 401 further includes: a second configuration sub-module 4013, configured to, when a second network parameter that is the same as the first network parameter exists in the stored network parameter list, use a PDP connection identifier that is the same as the second network parameter as the PDP connection identifier of the first SIM card.
The integrated module according to the embodiment of the present invention may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as an independent product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. A method of establishing a packet data protocol PDP connection, the method comprising:
when establishing connection with a mobile data network, presetting a PDP connection identifier, wherein the PDP connection identifier comprises a DUN type PDP connection and a default type PDP connection;
acquiring a first network parameter of a current first subscriber identity module SIM card, and comparing the first network parameter with a stored network parameter list;
when a second network parameter which is the same as the first network parameter exists in the stored network parameter list, taking the PDP connection identifier of the second network parameter as the PDP connection identifier of the first SIM card;
when a second network parameter which is the same as the first network parameter does not exist in the stored network parameter list, configuring a PDP connection identifier for the first SIM card, and taking the configured PDP connection identifier as the PDP connection of the first SIM card;
and when a hotspot opening instruction is received, establishing PDP connection according to the PDP connection identifier of the first SIM card.
2. The method of claim 1, wherein configuring the PDP connection identifier for the first SIM card comprises:
activating a dialing network DUN type PDP connection;
and generating the PDP connection identifier according to the activation result and storing the PDP connection identifier.
3. The method of claim 2, wherein storing the PDP connection identification comprises:
acquiring a first network parameter of a current first SIM card of a terminal;
and associating the PDP connection identifier with the first network parameter, and storing the PDP connection identifier in a stored network parameter list.
4. An apparatus for establishing a packet data protocol PDP connection, the apparatus comprising: a preset module and a connecting module, wherein,
the preset module is used for presetting a PDP (plasma display panel) connection identifier when the connection with the mobile data network is established, acquiring a first network parameter of the current first subscriber identity SIM card, and comparing the first network parameter with a stored network parameter list; when a second network parameter which is the same as the first network parameter exists in the stored network parameter list, taking the PDP connection identifier of the second network parameter as the PDP connection identifier of the first SIM card; when a second network parameter which is the same as the first network parameter does not exist in the stored network parameter list, configuring a PDP connection identifier for the first SIM card, and taking the configured PDP connection identifier as the PDP connection of the first SIM card;
the connection module is used for establishing PDP connection according to the PDP connection identifier of the first SIM card when a hotspot opening instruction is received;
wherein the PDP connection identifier comprises a DUN type PDP connection and a default type PDP connection.
5. The apparatus of claim 4, wherein the provisioning module is specifically configured to:
activating a dialing network DUN type PDP connection;
and generating the PDP connection identifier according to the activation result and storing the PDP connection identifier.
6. The apparatus of claim 5, wherein the provisioning module is further configured to:
acquiring a first network parameter of a current first SIM card of a terminal;
and associating the PDP connection identifier with the first network parameter, and storing the PDP connection identifier in a stored network parameter list.
CN201510489680.2A 2015-08-11 2015-08-11 Method and device for establishing PDP (packet data protocol) connection Active CN106454963B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510489680.2A CN106454963B (en) 2015-08-11 2015-08-11 Method and device for establishing PDP (packet data protocol) connection
PCT/CN2015/089172 WO2016145800A1 (en) 2015-08-11 2015-09-08 Pdp connection establishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510489680.2A CN106454963B (en) 2015-08-11 2015-08-11 Method and device for establishing PDP (packet data protocol) connection

Publications (2)

Publication Number Publication Date
CN106454963A CN106454963A (en) 2017-02-22
CN106454963B true CN106454963B (en) 2021-03-16

Family

ID=56918365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510489680.2A Active CN106454963B (en) 2015-08-11 2015-08-11 Method and device for establishing PDP (packet data protocol) connection

Country Status (2)

Country Link
CN (1) CN106454963B (en)
WO (1) WO2016145800A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103619070A (en) * 2013-10-30 2014-03-05 酷派软件技术(深圳)有限公司 A method and an apparatus for implementing a multi-packet data network
CN103686846A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Data message transmission method, and PDN (Public Data Network) connection identifier processing method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272305B (en) * 2008-04-29 2011-06-08 华为技术有限公司 Access point/user set network entry method, access point and network management device
CN101355479A (en) * 2008-09-09 2009-01-28 中兴通讯股份有限公司 Automatic connection method for wireless terminals
CN103052170B (en) * 2012-12-21 2016-04-13 Tcl通讯(宁波)有限公司 A kind of method that network based on cell phone network share service connects and mobile phone
CN103281799B (en) * 2013-05-31 2017-03-22 Tcl通讯(宁波)有限公司 Network connection switching method based on mobile phone hot spots and mobile phone
EP2846603A3 (en) * 2013-08-30 2015-06-03 Vodafone IP Licensing limited Reducing the number of radio interfaces by using a mobile terminal as signalling relay for other mobile terminals
EP3081020A4 (en) * 2013-12-09 2016-10-19 Ericsson Telefon Ab L M Method and apparatus for data connectivity sharing
CN104602363B (en) * 2014-12-25 2018-11-13 联想(北京)有限公司 A kind of electronic equipment and its APN information update method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686846A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Data message transmission method, and PDN (Public Data Network) connection identifier processing method and device
CN103619070A (en) * 2013-10-30 2014-03-05 酷派软件技术(深圳)有限公司 A method and an apparatus for implementing a multi-packet data network

Also Published As

Publication number Publication date
CN106454963A (en) 2017-02-22
WO2016145800A1 (en) 2016-09-22

Similar Documents

Publication Publication Date Title
JP6622394B2 (en) Managing multiple active subscriber identity module profiles
US9699642B2 (en) Electronic subscriber identity module selection
EP3846534B1 (en) Connection management system for electronic sim card terminal
US9918219B2 (en) Call management method and apparatus for multi-SIM multi-active terminal
US8903370B2 (en) Network access credential migration
US20130044638A1 (en) Mobile terminal, system and method for realizing access point name setting
US10901716B2 (en) Implicit file creation in APDU scripts
US20160285493A1 (en) Methods for performing a remote management of a multi-subscription sim module, and corresponding sim module and computer program product
CN106131816B (en) Virtual SIM card management method and terminal
JP6680548B2 (en) Technology for dynamically supporting distinct authentication algorithms
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
CN106210023B (en) Virtual SIM card synchronous management method and terminal
EP3297338B1 (en) Method for realizing network access, terminal and computer storage medium
CN111988824A (en) Network switching method and device, electronic equipment and storage medium
WO2017197757A1 (en) Method and device for apn assignment, and terminal
CN101557578A (en) Method and terminal for automatically recognizing and setting dialing parameters
CN103118365B (en) The implementation method of the one many nets of card and multi-mode communication terminal
US10904742B2 (en) Communicating a subscriber identity module to a server, in particular upon changing profiles
CN107306388B (en) Configuration method and device of Access Point Name (APN)
CN101616468B (en) Mobile communication terminal and data service control method thereof
CN105357771A (en) Connection establishing method and user terminal
CN105979552B (en) Method and system for using manual PLMN selection mode
CN106341374B (en) Method and device for limiting access of unlicensed user equipment to home gateway
CN108541078B (en) Terminal binding method, system, terminal and server
CN106454963B (en) Method and device for establishing PDP (packet data protocol) connection

Legal Events

Date Code Title Description
C06 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