WO2014161342A1 - Mobile terminal and method and apparatus for implementing single pdp dual stack connection for same - Google Patents

Mobile terminal and method and apparatus for implementing single pdp dual stack connection for same Download PDF

Info

Publication number
WO2014161342A1
WO2014161342A1 PCT/CN2013/088495 CN2013088495W WO2014161342A1 WO 2014161342 A1 WO2014161342 A1 WO 2014161342A1 CN 2013088495 W CN2013088495 W CN 2013088495W WO 2014161342 A1 WO2014161342 A1 WO 2014161342A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdp
request message
address
ipv6
activation request
Prior art date
Application number
PCT/CN2013/088495
Other languages
French (fr)
Chinese (zh)
Inventor
郑巍
温海龙
张红
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014161342A1 publication Critical patent/WO2014161342A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a mobile terminal and a method and apparatus for implementing a single PDP dual stack connection. Background technique
  • IPv6 Internet Protocol Version 6, Internet Protocol Version 6
  • IPv4 Internet Protocol Version 4, Internet Protocol). Version 4
  • IPv6 Internet Protocol Version 6, Internet Protocol Version 6
  • 3GPP The 3rd Generation Partnership Project, 3rd generation partner
  • CDMA2000 Code Division Multiple Access 2000
  • 3GPP2 Code Division Multiple Access 2000
  • IPv6 is the development direction of network-side bearers and service applications.
  • 3G IMS IP Multimedia Subsystem, IP Multimedia System
  • IPv6 has become the common basic protocol for Internet and mobile communication networks.
  • the wireless communication protocol stack sends a PDP (Packet Data Protocol) context activation request message to the network side to obtain the IP address and DNS (Domain Name System) required for connection establishment. Address and other related configuration information.
  • PDP Packet Data Protocol
  • DNS Domain Name System
  • the early mobile terminal only supports IPv4, so the mobile terminal can only send the IPv4 PDP activation request message to the network side, obtain the IPv4 IP address and DNS address, and establish an IPv4 link.
  • the mobile terminal introduces the IPv6 function, and then the mobile terminal can also send the IPv6 PDP activation request message to the network side, obtain the IPv6 IP address and the DNS address, and establish an IPv6 link.
  • a PDP context carries a link of an IP type.
  • the mobile terminal establishes a dual-stack connection, it needs to send two PDP activation request messages at the same time.
  • the PDP type of one activation request message is IPv4
  • the PDP type of the other activation request message is IPv6.
  • the 3GPP protocol introduces the concept of a single PDP dual stack in the Rel8 version.
  • a PDP context can carry both IPv4 and IPv6 links.
  • the embodiment of the invention provides a method and a device for implementing a mobile terminal and a single PDP dual-stack connection, which enables the mobile terminal to establish a single PDP dual-stack connection under the network side after Rel8.
  • a method for implementing a single PDP dual stack connection of a mobile terminal includes: converting step: acquiring a first PDP activation request message to be sent by the mobile terminal, and converting the first PDP activation request message into a second PDP The activation request message, the PDP type of the second PDP activation request message is IPv4v6;
  • Sending step sending the second PDP activation request message to the network side;
  • the parsing step is: parsing the PDP activation response message returned by the network side, and obtaining the IP address information and the DNS address information required for establishing the connection;
  • the address allocation step assigning the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
  • the converting step specifically includes:
  • the first PDP activation request message to be sent by the mobile terminal is intercepted from the air interface, the original PDP type in the first PDP activation request message is replaced with IPv4v6, and the protocol configuration option of the first PDP activation request message is set to Requesting the original PDP type from the network side
  • the type of domain name system DNS address information obtains a second PDP activation request message.
  • the converting step includes:
  • the first PDP activation request message is intercepted from the air interface, and the original PDP type IPv4 in the first PDP activation request message is replaced with IPv4v6, and IPv6 is added in the protocol configuration option of the first PDP activation request message.
  • the DNS request information field obtains a second PDP activation request message;
  • the converting step includes:
  • the first PDP activation request message is intercepted from the air interface, and the original PDP type IPv6 in the first PDP activation request message is replaced with IPv4v6, and IPv4 is added to the protocol configuration option of the first PDP activation request message.
  • the DNS request information field obtains a second PDP activation request message.
  • the IP address information includes an IPv4 address
  • the DNS address information includes an IPv4 DNS address
  • the address allocation step includes:
  • the IP address information includes an IPV6 prefix address
  • the DNS address information includes an IPv6 DNS address
  • the address allocation step includes:
  • IPV6 route request message of the host Receiving an IPV6 route request message of the host, and assigning the IPV6 prefix address and the IPv6 DNS address to the host by using an IPV6 route advertisement message, so that the host generates a global IPV6 address according to the IPV6 prefix address.
  • the method further includes:
  • Detection step receiving an IPV6 neighbor request request carrying the global IPV6 address of the host And performing address conflict detection according to the global IPV6 address, and returning the address conflict detection result to the host by using an IPV6 neighbor response message.
  • the method further includes:
  • the step of rewinding when the PDP activation response message further includes a PDP activation error code, attempting to establish a dual PDP dual stack connection or a single PDP single stack of the mobile terminal according to a fallback rule corresponding to the PDP activation error code connection.
  • the step of retreating includes:
  • the PDP activation response message includes a PDP activation error code that fails to establish a single PDP dual stack connection due to an IPv6 connection
  • the IPv4 single-stack startup state is entered, and an IPv4 single-stack connection of the mobile terminal is attempted to be established;
  • the PDP activation response message includes the PDP activation error code with the IPV4 address and the single PDP dual-stack connection establishment failure, enter the dual PDP dual-stack startup state, initiate IPV6 single-stack dialing, and attempt to establish a dual PDP dual stack of the mobile terminal.
  • the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection
  • enter the dual PDP dual stack startup state initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal.
  • Stack connection When the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection, enter the dual PDP dual stack startup state, initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal. Stack connection.
  • the embodiment of the invention further provides an implementation device for a single PDP dual stack connection of a mobile terminal, which comprises:
  • the converting unit is configured to acquire a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6 ;
  • the sending unit is configured to send the second PDP activation request message to the network side
  • the parsing unit is configured to parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection;
  • An address allocation unit configured to allocate the IP address information and the DNS address information to the host, To establish a connection between the host and the network side.
  • the converting unit is further configured to intercept, from the air interface, a first PDP activation request message to be sent by the mobile terminal, and replace the original PDP type in the first PDP activation request message with ⁇ 4 ⁇ 6, and
  • the protocol configuration option of the first PDP activation request message is set to request another type of domain name system DNS address information other than the original PDP type from the network side to obtain a second PDP activation request message.
  • the converting unit is configured to intercept the first PDP activation request message from an air interface, and the first PDP The original PDP type IPv4 in the activation request message is replaced with IPv4v6, and the IPv6 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message;
  • the converting unit is configured to intercept the first PDP activation request message from the air interface, and the original PDP in the first PDP activation request message
  • the type IPv6 is replaced with IPv4v6, and the IPv4 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message.
  • the IP address information includes an IPv4 address
  • the DNS address information includes an IPv4 DNS address
  • the address allocation unit is further configured to receive a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assign an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
  • the IP address information includes an IP V6 prefix address
  • the DNS address information includes an IPv6 DNS address
  • the address allocation unit is further configured to receive an IPV6 routing request message of the host, and allocate the IPV6 prefix address and an IPv6 DNS address to the primary by using an IPV6 route advertisement message. So that the host generates a global IPV6 address according to the IPV6 prefix address.
  • the device further includes:
  • the detecting unit is configured to: after the IP address distribution unit sends the IP V6 prefix address and the IPv6 DNS address to the host by using the IPV6 route advertisement message, receive the IPV6 neighbor request message of the host that carries the global IPV6 address, according to the The global IPV6 address is used for address conflict detection, and the address conflict detection result is returned to the host through the IPV6 neighbor response message.
  • the device further includes:
  • a fallback unit configured to: when the PDP activation error message is further included in the PDP activation response message, attempt to establish a dual PDP dual stack connection or a single PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Single stack connection.
  • the embodiment of the invention further provides a mobile terminal, comprising the implementation device of the single PDP dual stack connection of the mobile terminal as described above.
  • the mobile terminal in the case that the early mobile terminal does not support the single PDP dual-stack function, can normally send the IPv4v6 PDP activation request message to the network side by replacing the original PDP type in the PDP activation request message with the IPv4v6.
  • the corresponding IPv4 and IPv6 address information can be parsed in the PDP activation response message returned from the network side, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.
  • FIG. 1 is a schematic flow chart of a method for implementing a single PDP dual stack connection of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for implementing a single PDP dual stack connection of a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of signaling interaction of a single PDP dual-stack dialing by a mobile terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an address allocation signaling interaction of a mobile terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a state in which a single PDP dual stack is automatically rolled back according to an embodiment of the present invention.
  • the embodiment of the present invention is directed to the problem that the mobile terminal in the prior art cannot establish a single PDP dual stack connection under the network side after the Rel8, and provides a mobile terminal and a single PDP dual stack connection implementation method and device thereof.
  • the mobile terminal is allowed to establish a single PDP dual stack connection under the network side after Rel8.
  • FIG. 1 is a schematic flowchart of a method for implementing a single PDP dual-stack connection of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1, the embodiment includes:
  • Step 101 Obtain a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6;
  • Step 102 Send the second PDP activation request message to the network side.
  • Step 103 Parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection.
  • Step 104 Assign the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
  • the implementation method of the present invention for the case that the early mobile terminal does not support the single PDP dual stack function, enables the mobile terminal to normally send the IPv4v6 PDP activation request message to the network by replacing the original PDP type in the PDP activation request message with IPv4v6.
  • the corresponding IPv4 and IPv6 address information can be parsed in the PDP activation response message returned from the network side, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.
  • the step 101 includes: The first PDP activation request message to be sent by the mobile terminal is intercepted from the air interface, the original PDP type in the first PDP activation request message is replaced with IPv4v6, and the protocol configuration option of the first PDP activation request message is set to Another type of domain name system DNS address information other than the original PDP type is requested from the network side to obtain a second PDP activation request message.
  • the first PDP activation request message may be an IPv4 PDP activation request message or an IPv6 PDP activation request message.
  • the PDP type in the live request message (that is, the original PDP activation request message intercepted from the air interface) is replaced with IPv4v6, and the setting of the protocol configuration option (PCO-IE) is modified to request the DNS address information from the network side;
  • the step 101 includes:
  • the first PDP activation request message is intercepted from the air interface, and the original PDP type IPv4 in the first PDP activation request message is replaced with IPv4v6, and IPv6 is added in the protocol configuration option of the first PDP activation request message.
  • the DNS request information field obtains a second PDP activation request message;
  • the step 101 includes:
  • the first PDP activation request message is intercepted from the air interface, and the original PDP type IPv6 in the first PDP activation request message is replaced with IPv4v6, and IPv4 is added to the protocol configuration option of the first PDP activation request message.
  • the DNS request information field obtains a second PDP activation request message.
  • the PDP type in the PDP activation response message is modified to the type before the replacement, and the IP address information and the DNS address information are parsed from the PDP activation response message. .
  • the PDP type of the original PDP activation request message sent is IPv4
  • the PDP type in the PDP activation response message needs to be modified to IPv4 after receiving the PDP activation response message of the PDP type of the IPv4v6 returned by the network.
  • the PDP type in the PDP activation response message needs to be changed to IPv6 after receiving the PDP activation response message of the PDP type of the IPv4v6.
  • the IP address information includes an IPv4 address
  • the DNS address information includes an IPv4 DNS address
  • the step 104 includes: receiving a DHCP (Dynamic Host Setup Protocol) message requesting the IPv4 address by the host, and performing The DHCP address is negotiated, and the IPv4 address and the IPv4 DNS address are assigned to the host through a DHCP response message.
  • DHCP Dynamic Host Setup Protocol
  • the IP address information includes an IP V6 prefix address
  • the DNS address information includes an IPv6 DNS address
  • the step 104 includes:
  • RS IPV6 Routing Request
  • RA IPV6 Route Advertisement message
  • the method further includes:
  • the detecting step is: receiving an IPV6 neighbor request message (NS) carrying the global IPV6 address of the host, and performing address conflict detection according to the global IPV6 address;
  • NS IPV6 neighbor request message
  • the mobile terminal of the present invention also supports an automatic fallback function, that is, when a single PDP dual-stack dialing is initiated, when the network side does not support the IPv4v6 single PDP dual stack function, an automatic fallback function needs to be implemented.
  • the method further includes a step of rewinding: after receiving the PDP activation response message returned by the network side, determining whether a PDP activation error code is included in the PDP activation response message, and further including PDP activation in the PDP activation response message. When the error code is activated, it is wrong with the PDP activation.
  • the fallback rule corresponding to the error is attempted to establish a dual PDP dual stack connection or a single PDP single stack connection of the mobile terminal.
  • the step of retreating includes:
  • the PDP activation response message includes a PDP activation error code that fails to establish a single PDP dual stack connection due to an IPv6 connection
  • the IPv4 single-stack startup state is entered, and an IPv4 single-stack connection of the mobile terminal is attempted to be established;
  • the PDP activation response message includes the PDP activation error code with the IPV4 address and the single PDP dual-stack connection establishment failure, enter the dual PDP dual-stack startup state, initiate IPV6 single-stack dialing, and attempt to establish a dual PDP dual stack of the mobile terminal.
  • the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection
  • enter the dual PDP dual stack startup state initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal.
  • Stack connection When the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection, enter the dual PDP dual stack startup state, initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal. Stack connection.
  • the PDP activation response message includes the IPV4 address and the PDP activation error code of #52
  • the IPV6 single-stack dialing is initiated, and the dual PDP dual-stack connection of the mobile terminal is attempted to be established;
  • the IPV4 single-stack dialing is initiated, and an attempt is made to establish a dual PDP dual-stack connection of the mobile terminal.
  • the automatic fallback function can be implemented in different scenarios as follows:
  • the IPv6 dialing process will be initiated to try to establish a dual PDP dual stack.
  • the PDP activation response message returned by the network side includes the PDP with the IPV4 address and #52.
  • an IPv6 dialing process will be initiated to attempt to establish a dual PDP dual stack connection;
  • the IPv4 dialing process will be initiated to attempt to establish a dual PDP dual stack connection.
  • the IPv6 dialing process will not be initiated, indicating that the mobile terminal only works in the IPv4 single-stack mode.
  • the IPv4 dialing process will not be initiated, indicating that the mobile terminal only works in the IPv6 single-stack mode.
  • FIG. 2 is a structural block diagram of an apparatus for implementing a single PDP dual-stack connection of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, this embodiment includes:
  • the converting unit 20 is configured to acquire a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6;
  • the sending unit 22 is configured to send the second PDP activation request message to the network side;
  • the parsing unit 24 is configured to parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection;
  • the address assigning unit 26 is configured to allocate the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
  • the converting unit 20 is further configured to: intercept the first PDP activation request message to be sent by the mobile terminal from the air interface, replace the original PDP type in the first PDP activation request message with IPv4v6, and The protocol configuration option of the first PDP activation request message is set to request another type of domain name system DNS address information other than the original PDP type from the network side to obtain a second PDP activation request message.
  • the first PDP activation request message is an IPv4 PDP activation.
  • the converting unit 20 is configured to intercept the first PDP activation request message from the air interface, and replace the original PDP type IPv4 in the first PDP activation request message with IPv4v6, in the first PDP Adding a DNS request information field of the IPv6 to the protocol configuration option of the activation request message, to obtain a second PDP activation request message;
  • the converting unit 20 is configured to intercept the first PDP activation request message from an air interface, and to original in the first PDP activation request message
  • the PDP type IPv6 is replaced with IPv4v6, and the IPv4 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message.
  • the IP address information includes an IPv4 address
  • the DNS address information includes an IPv4 DNS address
  • the address allocation unit is further configured to receive a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assign an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
  • the IP address information includes an IP V6 prefix address
  • the DNS address information includes an IPv6 DNS address
  • the address allocation unit is further configured to receive an IPV6 routing request message of the host, and allocate the IPV6 prefix address and an IPv6 DNS address to the host by using an IPV6 route advertisement message, so that the host generates the IPV6 prefix address according to the IPV6 Global IPV6 address.
  • the device further includes:
  • the detecting unit is configured to: after the IP address distribution unit sends the IP V6 prefix address and the IPv6 DNS address to the host by using the IPV6 route advertisement message, receive the IPV6 neighbor request message of the host that carries the global IPV6 address, according to the The global IPV6 address is used for address conflict detection, and the address conflict detection result is returned to the host through the IPV6 neighbor response message.
  • the device further includes: a fallback unit, configured to: when the PDP activation error message is further included in the PDP activation response message, attempt to establish a dual PDP dual stack connection or a single PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Single stack connection.
  • a fallback unit configured to: when the PDP activation error message is further included in the PDP activation response message, attempt to establish a dual PDP dual stack connection or a single PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Single stack connection.
  • the implementation device of the present invention enables the mobile terminal to normally send an IPv4v6 PDP activation request message to the network by replacing the original PDP type in the PDP activation request message with IPv4v6 for the case where the early mobile terminal does not support the single PDP dual stack function.
  • the corresponding IPv4 and IPv6 address information can be parsed in the PDP activation response message returned from the network side, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.
  • the embodiment of the present invention further provides a mobile terminal, which includes the device for implementing a single PDP dual stack connection of the mobile terminal as described above.
  • the mobile terminal may be a data card disposed in the host, and the mobile terminal can be implemented by the mobile terminal.
  • the mobile terminal includes two modules, a WAN (Wide Area Network) and a LAN (Local Area Network), wherein the WAN module is configured to send a PDP activation request message to the network side to obtain address information required for connection establishment.
  • the conversion unit, the sending unit, and the parsing unit may be included.
  • the LAN module is configured to control a connection status between the mobile terminal and the host, and allocate address information acquired from the network side to the host, and specifically may include the foregoing allocating unit.
  • the WAN module of the mobile terminal is configured to control the PDP context negotiation between the mobile terminal and the network side to obtain an IPv4 address required for an IPv4 connection or an IPv6 address and DNS address information required for an IPv6 connection;
  • the LAN module is configured to control the connection state between the mobile terminal and the host, and is responsible for allocating IPv4 and IPv6 address information acquired by the WAN module from the network side to the host through DHCP negotiation and stateless automatic configuration.
  • FIG. 3 is a block diagram of a mobile terminal according to a specific embodiment of the present invention, where the mobile terminal is in the mobile terminal
  • the WAN module, the LAN module, and the wireless communication protocol stack module are configured, wherein the WAN module is configured to control the mobile terminal to perform PDP negotiation with the network side, and the LAN module is configured to control the connection state and address negotiation of the mobile terminal and the host before.
  • the host sends a dial-up request to the mobile terminal
  • the WAN module controls the wireless communication protocol stack module to send a PDP activation request message to the network side to obtain the address information.
  • the WAN module After the mobile terminal receives the PDP activation response message returned by the network side, the WAN module notifies the LAN module to establish a connection with the host, and then parses the IP address information from the PDP activation response message returned from the network side and provides the information to the LAN module, and the LAN module passes DHCP negotiation assigns IPv4 addresses and DNS information to hosts, and assigns IPv6 addresses to hosts through stateless autoconfiguration.
  • FIG. 4 it is a schematic diagram of signaling interaction of a single PDP dual-stack dialing in a mobile terminal according to a specific embodiment of the present invention.
  • the specific process is as follows:
  • the host sends a dial-up request to the mobile terminal.
  • the mobile terminal After receiving the dialing request, the mobile terminal does not support single PDP dual stack dialing, so the mobile terminal will initiate an IPv4 or IPv6 PDP activation request message according to the default setting.
  • the WAN module determines that the single PDP dual-stack dialing needs to be established, the original PDP activation request message is intercepted from the air interface before the original PDP activation request message is sent, and the PDP type of the address information request part is modified to IPv4v6, and the protocol configuration option is also selected. Add request information for IPv6 or IPv4 DNS. If the mobile terminal sends an IPv4 PDP activation request message by default, the WAN module needs to change the PDP type information in its address field from 0x21 (IPv4) to 0x8d.
  • IPv4v6 also add the IPv6 DNS Request Information field (0x03) in the Protocol Configuration Option (PCO-IE). If the mobile terminal sends an IPv6 PDP activation request message by default, the WAN module needs to change the PDP type information in its address field from 0x57 (IPv4) to 0x8d.
  • IPv4v6 adding the IPv4 DNS Request Information field in the Protocol Configuration Option (PCO-IE);
  • the original PDP activation request message is sent to the network side.
  • the WAN module sends the PDP activation request message obtained after the modification is completed to the network side through the wireless communication protocol stack module.
  • the network side After receiving the IPv4v6 PDP activation request message sent by the mobile terminal, the network side encapsulates the IPv4 address, the IPv6 address, and other configuration information in the activation PDP response message, and sends it back to the mobile terminal, where other configuration information includes the DNS address information. And/or error code information.
  • the WAN module After the WAN module detects that the network side returns the PDP activation response message, it changes the PDP type in the PDP activation response message to the default PDP type, and resolves the IPv4 address, IPv6 address, and DNS from the PDP activation response message. The address information is then returned to the wireless communication protocol stack module. If the PDP activation response message returned by the network side carries the error code information, the WAN module will automatically control the wireless communication protocol stack to perform automatic rollback according to the parsed error code information.
  • the WAN module After receiving the PDP activation response message, the WAN module notifies the LAN module and the host that the connection is successfully established, and the LAN module starts the IPv4 and IPv6 protocol stacks.
  • the WAN module provides the IPv4 address, the IPv6 address, and the DNS address parsed from the PDP activation response message to the LAN module.
  • the LAN module After receiving the address information provided by the WAN module, the LAN module assigns the IPv4 address and the DNS to the host through DHCP negotiation, and assigns the IPv6 address to the host through stateless autoconfiguration.
  • the IPv6 DNS is assigned to the host through the stateful DHCPv6 configuration. At this point, the address assignment is completed, the connection between the host and the network side is successfully established, and communication can be performed between the host and the network side.
  • the mobile terminal address allocation interaction diagram disclosed in the present disclosure is as follows:
  • the LAN module After receiving the IPv4 address and DNS address information provided by the WAN module, the LAN module allocates the IPv4 address and the DNS address information to the host through DHCP negotiation. Specifically, after receiving the DHCP request message of the host requesting the IPV4 address, the LAN module receives the DHCP request message. Respond to messages via DHCP Assign IPv4 address and DNS address information to the host.
  • the LAN module After receiving the IPv6 address and DNS address information provided by the WAN module, the LAN module will assign the IPv6 address to the host through stateless autoconfiguration. Specifically, the host sends a route request (RS) message to the mobile terminal, and after receiving the route request message, the LAN module returns the IPv6 prefix address provided by the WAN module to the host through a route advertisement (RA) message, and the host receives the IPv6 prefix address. The global IPv6 address will be automatically generated. The LAN module configures the IPv6 DNS to the host through the stateless DHCPv6 configuration, which is not mentioned here.
  • RS route request
  • RA route advertisement
  • NS Neighbor Solicitation
  • DAD address collision detection
  • NA notification
  • FIG. 6 it is a single PDP dual stack automatic fallback state diagram of a mobile terminal according to the present invention, where SM (session management) is a session management module in a connection management layer of a wireless communication protocol stack, Manage the activation status of the PDP context and control the establishment, modification, and release of the radio access bearer.
  • SM session management
  • IPv4v6-SM-DOWN single PDP dual stack termination
  • IPv4v6-SM-UP single PDP dual stack operation
  • IPv4v6_SM_COMING_UP single PDP dual stack startup
  • IPv4v6-SM-COMING-DOWN single PDP dual stack shutdown
  • the SM module Before the single PDP dual stack dialing is established, the SM module is in the IPv4v6-SM-DOWN state. After the mobile terminal receives the dialing command of the single PDP dual stack, the WAN module controls the wireless communication protocol stack module to send a single PDP dual stack activation request message, and modifies the state of the SM module to IPv4v6-SM_COMING_UP;
  • the WAN module determines that the network side accepts the single PDP dual stack dialing request of the mobile terminal and allocates IPv4 and
  • the state of the SM module is changed to IPv4v6-SM_UP, and the LAN module single PDP dual-stack connection is notified;
  • the WAN module will control the wireless communication protocol stack module to send a single PDP dual-stack deactivation request message, and modify the state of the SM module to IPv4v6— SM—COMING— DOWN;
  • the WAN module changes the state of the SM module to IPv4v6_SM_DOWN, and notifies the LAN module that the single PDP dual stack connection is disconnected;
  • the WAN module determines that the network side returns the IPv4 address and carries the #50 PDP activation error code, and the state of the SM module is modified to IPv4— SM_UP, simultaneously notifying the LAN module that an IPv4 single-stack connection is currently established;
  • the WAN module determines that the network side returns the IPv6 address and carries the #51 PDP activation error code, and the state of the SM module is modified to IPv6.
  • SM_UP and notify the LAN module that the IPv6 single-stack connection is currently established;
  • the WAN module determines that the network side returns the IPv4 address and carries the #52 PDP activation error code, and the state of the SM module is changed to IPv4— IPv6—SM—COMING—UP, then control the wireless communication protocol stack module to initiate IPv6 single-stack dialing. If the dialing is successful, the state of the SM module is modified to IPv4—IPv6—SM—UP, and notify the LAN module to establish a dual PDP dual stack connection;
  • the WAN module determines that the network side returns the IPv6 address and carries the #52 PDP activation error code, and the state of the SM module is modified to IPv4— IPv6—SM—COMING—UP, then control the wireless communication protocol stack module to initiate IPv4 single-stack dialing. If the dialing is successful, modify the state of the SM module to IPv4—IPv6—SM—UP, and notify the LAN module of dual PDP dual stack connections. set up;
  • the WAN module determines that if the PDP activation error code reason rejected by the network side is #28, the wireless communication protocol stack module is controlled to initiate IPv4 single stack dialing. If the dialing is successful, the state of the SM module is changed to IPv4_SM UP, and the LAN module is notified that the IPv4 single stack connection is currently established; the exception process is as follows:
  • the WAN module changes the state of the SM module to IPv4v6-SM_DOWN, and notifies the LAN module that the connection establishment fails.
  • the WAN module modifies the state of the SM module to IPv4v6-SM_DOWN, and informs that the LAN module connection is abnormally disconnected.
  • the modules may be implemented in software for execution by various types of processors.
  • an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different physicalities. When these instructions are logically combined, they form a module and implement the specified purpose of the module. .
  • the executable code module can be a single instruction or a number of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices.
  • operational data may be identified within the module and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on the system or network side.
  • the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software. Without considering the cost, a person skilled in the art can construct a corresponding hardware circuit to implement the corresponding function.
  • the hardware circuitry includes conventional Very Large Scale Integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components.
  • VLSI Very Large Scale Integration
  • Modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
  • sequence numbers of the steps are not used to limit the sequence of the steps.
  • the steps of the steps are changed without any creative work. It is also within the scope of the invention.
  • the mobile terminal can normally send the IPv4v6 PDP activation request message to the network side by replacing the original PDP type in the PDP activation request message with the IPv4v6, and can access the network from the network.
  • the PDP activation response message returned by the side parses the corresponding IPv4 and IPv6 address information, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.

Abstract

The present invention provides a mobile terminal and a method and an apparatus for implementing a single Packet Data Protocol (PDP) dual stack connection for the mobile terminal, and belongs to the field of mobile communications. The method comprises: a conversion step: acquiring a first PDP activation request message to be sent by a mobile terminal, and converting the first PDP activation request message into a second PDP activation request message, a PDP type of the second PDP activation request message being Internet Protocol Version 4 (IPv4) or Internet Protocol Version 6 (IPv6); a sending step: sending the second PDP activation request message to a network side; a parsing step: parsing a PDP activation response message returned by the network side, and acquiring IP address information and domain name system (DNS) address information required to establish a connection; and an address allocation step: allocating the IP address information and the DNS address information to a host, so as to establish a connection between the host and the network side.

Description

移动终端及其单 PDP双栈连接的实现方法、 装置 技术领域  Method and device for implementing mobile terminal and single PDP dual stack connection thereof
本发明涉及移动通信领域, 特别涉及一种移动终端及其单 PDP双栈连 接的实现方法、 装置。 背景技术  The present invention relates to the field of mobile communications, and in particular, to a mobile terminal and a method and apparatus for implementing a single PDP dual stack connection. Background technique
IPv6 ( Internet Protocol Version 6, 互联网协议版本 6 )具有地址空间大、 地址结构便于实现地址聚合、 支持地址自动配置、 支持主机移动, 其安全 性和服务质量优于 IPv4 ( Internet Protocol Version 4, 互联网协议版本 4 )等 众多优点。 无论是 3GPP ( The 3rd Generation Partnership Project, 第 3代合 作伙伴计戈 'J )的 UMTS ( Universal Mobile Telecommunications System, 通用 移动通信系统), 还是 3GPP2的 CDMA2000 ( Code Division Multiple Access 2000, 码分多址 2000 ) 系统, 都早已确定了 IPv6是网络侧承载、 业务应用 的发展方向。 特别是在 3G的 IMS ( IP Multimedia Subsystem, IP多媒体系 统) 阶段, 网络侧系统将全面基于或兼容 IPv6, IPv6已成为互联网和移动 通信网的共用基本协议。  IPv6 (Internet Protocol Version 6, Internet Protocol Version 6) has a large address space, an address structure for address aggregation, automatic address configuration, and host mobility. Its security and quality of service are better than IPv4 (Internet Protocol Version 4, Internet Protocol). Version 4) and many other advantages. Whether it is UMTS (Universal Mobile Telecommunications System) of 3GPP (The 3rd Generation Partnership Project, 3rd generation partner), or CDMA2000 (Code Division Multiple Access 2000) of 3GPP2 (Code Division Multiple Access 2000) The system has already determined that IPv6 is the development direction of network-side bearers and service applications. Especially in the 3G IMS (IP Multimedia Subsystem, IP Multimedia System) phase, the network side system will be fully based or compatible with IPv6, and IPv6 has become the common basic protocol for Internet and mobile communication networks.
移动终端在建立连接时, 无线通信协议栈会发送 PDP ( Packet Data Protocol, 分组数据协议)上下文激活请求消息到网络侧用以获取连接建立 所需的 IP地址、 DNS ( Domain Name System, 域名系统)地址及其他相关 配置信息。早期的移动终端只支持 IPv4,所以移动终端只能发送 IPv4的 PDP 激活请求消息到网络侧, 获取 IPv4的 IP地址及 DNS地址, 建立 IPv4的链 路。 之后随着 IPv6技术的发展, 移动终端引入了 IPv6功能, 之后移动终端 也可发送 IPv6的 PDP激活请求消息到网络侧 ,获取 IPv6的 IP地址及 DNS 地址, 建立 IPv6的链路。 但在 3GPP协议 Rel8版本之前, 移动终端只能支 持一个 PDP上下文承载一种 IP类型的链路。 移动终端建立双栈连接时, 需 要同时发送两条 PDP激活请求消息,一条激活请求消息的 PDP类型为 IPv4 , 另一条激活请求消息的 PDP类型为 IPv6。激活成功后, 两种 IP类型的数据 传输需要承载在对应的 PDP上下文上。 3GPP协议在 Rel8版本引入了单 PDP 双栈的概念, 一个 PDP上下文就可以同时承载 IPv4和 IPv6两个链路。 但 早期的移动终端只能支持双 PDP双栈, 即 IPv4链路和 IPv6链路需要两个 独立的 PDP上下文来承载,这就造成早期的移动终端在 Rel8以后的网络侧 下无法建立单 PDP双栈连接。 发明内容 When the mobile terminal establishes a connection, the wireless communication protocol stack sends a PDP (Packet Data Protocol) context activation request message to the network side to obtain the IP address and DNS (Domain Name System) required for connection establishment. Address and other related configuration information. The early mobile terminal only supports IPv4, so the mobile terminal can only send the IPv4 PDP activation request message to the network side, obtain the IPv4 IP address and DNS address, and establish an IPv4 link. Then, with the development of the IPv6 technology, the mobile terminal introduces the IPv6 function, and then the mobile terminal can also send the IPv6 PDP activation request message to the network side, obtain the IPv6 IP address and the DNS address, and establish an IPv6 link. But before the Rel8 version of the 3GPP protocol, mobile terminals can only support A PDP context carries a link of an IP type. When the mobile terminal establishes a dual-stack connection, it needs to send two PDP activation request messages at the same time. The PDP type of one activation request message is IPv4, and the PDP type of the other activation request message is IPv6. After the activation is successful, the data transmission of the two IP types needs to be carried on the corresponding PDP context. The 3GPP protocol introduces the concept of a single PDP dual stack in the Rel8 version. A PDP context can carry both IPv4 and IPv6 links. However, early mobile terminals can only support dual PDP dual stacks, that is, IPv4 links and IPv6 links require two independent PDP contexts to carry, which causes early mobile terminals to fail to establish single PDP pairs under the network side after Rel8. Stack connection. Summary of the invention
本发明实施例提供一种移动终端及其单 PDP双栈连接的实现方法、 装 置, 能够使移动终端在 Rel8以后的网络侧下建立单 PDP双栈连接。  The embodiment of the invention provides a method and a device for implementing a mobile terminal and a single PDP dual-stack connection, which enables the mobile terminal to establish a single PDP dual-stack connection under the network side after Rel8.
为解决上述技术问题, 本发明的实施例提供技术方案如下:  In order to solve the above technical problem, the embodiments of the present invention provide the following technical solutions:
一方面, 提供一种移动终端单 PDP双栈连接的实现方法, 包括: 转换步驟: 获取移动终端待发送的第一 PDP激活请求消息, 并将所述 第一 PDP激活请求消息转换为第二 PDP激活请求消息, 所述第二 PDP激 活请求消息的 PDP类型为 IPv4v6;  In one aspect, a method for implementing a single PDP dual stack connection of a mobile terminal includes: converting step: acquiring a first PDP activation request message to be sent by the mobile terminal, and converting the first PDP activation request message into a second PDP The activation request message, the PDP type of the second PDP activation request message is IPv4v6;
发送步驟: 向网络侧发送所述第二 PDP激活请求消息;  Sending step: sending the second PDP activation request message to the network side;
解析步驟: 解析网络侧返回的 PDP激活响应消息, 获取建立连接所需 的 IP地址信息和 DNS地址信息;  The parsing step is: parsing the PDP activation response message returned by the network side, and obtaining the IP address information and the DNS address information required for establishing the connection;
地址分配步驟:将所述 IP地址信息和 DNS地址信息分配给主机,以建 立所述主机与网络侧之间的连接。  The address allocation step: assigning the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
优选地, 上述方案中, 所述转换步驟具体包括:  Preferably, in the foregoing solution, the converting step specifically includes:
从空口上截获移动终端待发送的第一 PDP激活请求消息, 将所述第一 PDP激活请求消息中的原始 PDP类型替换为 IPv4v6, 并将所述第一 PDP 激活请求消息的协议配置选项设置为向网络侧请求原始 PDP类型之外另一 种类型的域名系统 DNS地址信息, 得到第二 PDP激活请求消息。 The first PDP activation request message to be sent by the mobile terminal is intercepted from the air interface, the original PDP type in the first PDP activation request message is replaced with IPv4v6, and the protocol configuration option of the first PDP activation request message is set to Requesting the original PDP type from the network side The type of domain name system DNS address information obtains a second PDP activation request message.
优选地,上述方案中,在所述第一 PDP激活请求消息为 IPv4 PDP激活 请求消息时, 所述转换步驟包括:  Preferably, in the foregoing solution, when the first PDP activation request message is an IPv4 PDP activation request message, the converting step includes:
从空口上截获所述第一 PDP激活请求消息,并将所述第一 PDP激活请 求消息中的原始 PDP类型 IPv4替换为 IPv4v6, 在所述第一 PDP激活请求 消息的协议配置选项中增加 IPv6的 DNS请求信息字段, 得到第二 PDP激 活请求消息;  The first PDP activation request message is intercepted from the air interface, and the original PDP type IPv4 in the first PDP activation request message is replaced with IPv4v6, and IPv6 is added in the protocol configuration option of the first PDP activation request message. The DNS request information field obtains a second PDP activation request message;
在所述第一 PDP激活请求消息为 IPv6 PDP激活请求消息时,所述转换 步驟包括:  When the first PDP activation request message is an IPv6 PDP activation request message, the converting step includes:
从空口上截获所述第一 PDP激活请求消息,并将所述第一 PDP激活请 求消息中的原始 PDP类型 IPv6替换为 IPv4v6, 在所述第一 PDP激活请求 消息的协议配置选项中增加 IPv4的 DNS请求信息字段, 得到第二 PDP激 活请求消息。  The first PDP activation request message is intercepted from the air interface, and the original PDP type IPv6 in the first PDP activation request message is replaced with IPv4v6, and IPv4 is added to the protocol configuration option of the first PDP activation request message. The DNS request information field obtains a second PDP activation request message.
优选地, 上述方案中, 所述 IP地址信息包括有 IPv4地址, 所述 DNS 地址信息包括有 IPv4 DNS地址, 所述地址分配步驟包括:  Preferably, in the above solution, the IP address information includes an IPv4 address, the DNS address information includes an IPv4 DNS address, and the address allocation step includes:
接收所述主机请求 IPv4地址的动态主机设置协议 DHCP 消息, 通过 DHCP响应消息将 IPv4地址及 IPv4 DNS地址分配给所述主机。  Receiving a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assigning an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
优选地, 上述方案中, 所述 IP地址信息包括有 IPV6前缀地址, 所述 DNS地址信息包括有 IPv6 DNS地址, 所述地址分配步驟包括:  Preferably, in the above solution, the IP address information includes an IPV6 prefix address, the DNS address information includes an IPv6 DNS address, and the address allocation step includes:
接收所述主机的 IPV6路由请求消息, 通过 IPV6路由通告消息将所述 IPV6前缀地址和 IPv6 DNS地址分配给所述主机, 以便所述主机根据所述 IPV6前缀地址生成全局 IPV6地址。  Receiving an IPV6 route request message of the host, and assigning the IPV6 prefix address and the IPv6 DNS address to the host by using an IPV6 route advertisement message, so that the host generates a global IPV6 address according to the IPV6 prefix address.
优选地, 上述方案中, 所述通过 IPV6路由通告消息将所述 IPV6前缀 地址和 IPv6 DNS地址分配给主机之后还包括:  Preferably, in the foregoing solution, after the IPV6 prefix advertisement address and the IPv6 DNS address are allocated to the host by using the IPV6 route advertisement message, the method further includes:
检测步驟: 接收所述主机的携带有全局 IPV6地址的 IPV6邻居请求消 息, 根据所述全局 IPV6地址进行地址沖突检测, 并将地址沖突检测结果通 过 IPV6邻居响应消息返回给所述主机。 Detection step: receiving an IPV6 neighbor request request carrying the global IPV6 address of the host And performing address conflict detection according to the global IPV6 address, and returning the address conflict detection result to the host by using an IPV6 neighbor response message.
优选地, 上述方案中, 所述方法还包括:  Preferably, in the above solution, the method further includes:
回退步驟: 在所述 PDP激活响应消息中还包括有 PDP激活错误码时, 按照与所述 PDP激活错误码对应的回退规则, 尝试建立移动终端的双 PDP 双栈连接或者单 PDP单栈连接。  The step of rewinding: when the PDP activation response message further includes a PDP activation error code, attempting to establish a dual PDP dual stack connection or a single PDP single stack of the mobile terminal according to a fallback rule corresponding to the PDP activation error code connection.
优选地, 上述方案中, 所述回退步驟包括:  Preferably, in the foregoing solution, the step of retreating includes:
在所述 PDP激活响应消息中包括有由于 IPv6连接导致的单 PDP双栈 连接建立失败的 PDP激活错误码时, 进入 IPv4单栈启动状态, 尝试建立移 动终端的 IPv4单栈连接;  When the PDP activation response message includes a PDP activation error code that fails to establish a single PDP dual stack connection due to an IPv6 connection, the IPv4 single-stack startup state is entered, and an IPv4 single-stack connection of the mobile terminal is attempted to be established;
在所述 PDP激活响应消息中包括有 IPV4地址和单 PDP双栈连接建立 失败的 PDP激活错误码时, 进入双 PDP双栈启动状态, 发起 IPV6单栈拨 号, 尝试建立移动终端的双 PDP双栈连接;  When the PDP activation response message includes the PDP activation error code with the IPV4 address and the single PDP dual-stack connection establishment failure, enter the dual PDP dual-stack startup state, initiate IPV6 single-stack dialing, and attempt to establish a dual PDP dual stack of the mobile terminal. Connection
在所述 PDP激活响应消息中包括有 IPV6地址和和单 PDP双栈连接建 立失败的 PDP激活错误码时, 进入双 PDP双栈启动状态, 发起 IPV4单栈 拨号, 尝试建立移动终端的双 PDP双栈连接。  When the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection, enter the dual PDP dual stack startup state, initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal. Stack connection.
本发明实施例还提供了一种移动终端单 PDP双栈连接的实现装置, 包 括:  The embodiment of the invention further provides an implementation device for a single PDP dual stack connection of a mobile terminal, which comprises:
转换单元, 配置为获取移动终端待发送的第一 PDP激活请求消息, 并 将所述第一 PDP激活请求消息转换为第二 PDP激活请求消息, 所述第二 PDP激活请求消息的 PDP类型为 IPv4v6;  The converting unit is configured to acquire a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6 ;
发送单元, 配置为向网络侧发送所述第二 PDP激活请求消息; 解析单元, 配置为解析网络侧返回的 PDP激活响应消息, 获取建立连 接所需的 IP地址信息和 DNS地址信息;  The sending unit is configured to send the second PDP activation request message to the network side, and the parsing unit is configured to parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection;
地址分配单元, 配置为所述 IP地址信息和 DNS地址信息分配给主机, 以建立所述主机与网络侧之间的连接。 An address allocation unit configured to allocate the IP address information and the DNS address information to the host, To establish a connection between the host and the network side.
优选地, 上述方案中, 所述转换单元还配置为从空口上截获移动终端 待发送的第一 PDP激活请求消息,将所述第一 PDP激活请求消息中的原始 PDP类型替换为 ΙΡν4ν6 , 并将所述第一 PDP激活请求消息的协议配置选项 设置为向网络侧请求原始 PDP类型之外另一种类型的域名系统 DNS地址信 息, 得到第二 PDP激活请求消息。  Preferably, in the above solution, the converting unit is further configured to intercept, from the air interface, a first PDP activation request message to be sent by the mobile terminal, and replace the original PDP type in the first PDP activation request message with ΙΡν4ν6, and The protocol configuration option of the first PDP activation request message is set to request another type of domain name system DNS address information other than the original PDP type from the network side to obtain a second PDP activation request message.
优选地,上述方案中,在所述第一 PDP激活请求消息为 IPv4 PDP激活 请求消息时, 所述转换单元配置为从空口上截获所述第一 PDP激活请求消 息,并将所述第一 PDP激活请求消息中的原始 PDP类型 IPv4替换为 IPv4v6, 在所述第一 PDP激活请求消息的协议配置选项中增加 IPv6的 DNS请求信 息字段, 得到第二 PDP激活请求消息;  Preferably, in the foregoing solution, when the first PDP activation request message is an IPv4 PDP activation request message, the converting unit is configured to intercept the first PDP activation request message from an air interface, and the first PDP The original PDP type IPv4 in the activation request message is replaced with IPv4v6, and the IPv6 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message;
在所述第一 PDP激活请求消息为 IPv6 PDP激活请求消息时,所述转换 单元配置为从空口上截获所述第一 PDP激活请求消息, 并将所述第一 PDP 激活请求消息中的原始 PDP类型 IPv6替换为 IPv4v6, 在所述第一 PDP激 活请求消息的协议配置选项中增加 IPv4的 DNS请求信息字段, 得到第二 PDP激活请求消息。  When the first PDP activation request message is an IPv6 PDP activation request message, the converting unit is configured to intercept the first PDP activation request message from the air interface, and the original PDP in the first PDP activation request message The type IPv6 is replaced with IPv4v6, and the IPv4 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message.
优选地, 上述方案中, 所述 IP地址信息包括有 IPv4地址, 所述 DNS 地址信息包括有 IPv4 DNS地址,  Preferably, in the foregoing solution, the IP address information includes an IPv4 address, and the DNS address information includes an IPv4 DNS address.
所述地址分配单元还配置为接收所述主机请求 IPv4地址的动态主机设 置协议 DHCP消息, 通过 DHCP响应消息将 IPv4地址及 IPv4 DNS地址分 配给所述主机。  The address allocation unit is further configured to receive a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assign an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
优选地, 上述方案中, 所述 IP地址信息包括有 IP V6前缀地址, 所述 DNS地址信息包括有 IPv6 DNS地址,  Preferably, in the above solution, the IP address information includes an IP V6 prefix address, and the DNS address information includes an IPv6 DNS address.
所述地址分配单元还配置为接收所述主机的 IPV6路由请求消息,通过 IPV6路由通告消息将所述 IPV6前缀地址和 IPv6 DNS地址分配给所述主 机, 以便所述主机根据所述 IPV6前缀地址生成全局 IPV6地址。 优选地, 上述方案中, 所述装置还包括: The address allocation unit is further configured to receive an IPV6 routing request message of the host, and allocate the IPV6 prefix address and an IPv6 DNS address to the primary by using an IPV6 route advertisement message. So that the host generates a global IPV6 address according to the IPV6 prefix address. Preferably, in the above solution, the device further includes:
检测单元, 配置为在所述地址分配单元通过 IPV6路由通告消息将所述 IP V6前缀地址和 IPv6 DNS地址分配给主机之后, 接收所述主机的携带有 全局 IPV6地址的 IPV6邻居请求消息,根据所述全局 IPV6地址进行地址沖 突检测, 并将地址沖突检测结果通过 IPV6邻居响应消息返回给所述主机。  The detecting unit is configured to: after the IP address distribution unit sends the IP V6 prefix address and the IPv6 DNS address to the host by using the IPV6 route advertisement message, receive the IPV6 neighbor request message of the host that carries the global IPV6 address, according to the The global IPV6 address is used for address conflict detection, and the address conflict detection result is returned to the host through the IPV6 neighbor response message.
优选地, 上述方案中, 所述装置还包括:  Preferably, in the above solution, the device further includes:
回退单元,配置为在所述 PDP激活响应消息中还包括有 PDP激活错误 码时, 按照与所述 PDP激活错误码对应的回退规则, 尝试建立移动终端的 双 PDP双栈连接或者单 PDP单栈连接。  a fallback unit, configured to: when the PDP activation error message is further included in the PDP activation response message, attempt to establish a dual PDP dual stack connection or a single PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Single stack connection.
本发明实施例还提供了一种移动终端, 包括如上所述的移动终端单 PDP双栈连接的实现装置。  The embodiment of the invention further provides a mobile terminal, comprising the implementation device of the single PDP dual stack connection of the mobile terminal as described above.
本发明的实施例具有以下有益效果:  Embodiments of the present invention have the following beneficial effects:
上述方案中, 针对早期移动终端不支持单 PDP双栈功能的情况, 通过 将 PDP激活请求消息中的原始 PDP类型替换为 IPv4v6,使移动终端能够正 常地发送 IPv4v6的 PDP激活请求消息到网络侧,并能从网络侧返回的 PDP 激活响应消息中解析对应的 IPv4和 IPv6地址信息,从而使移动终端在 Rel8 以后的网络侧下建立单 PDP双栈连接。 附图说明  In the foregoing solution, in the case that the early mobile terminal does not support the single PDP dual-stack function, the mobile terminal can normally send the IPv4v6 PDP activation request message to the network side by replacing the original PDP type in the PDP activation request message with the IPv4v6. The corresponding IPv4 and IPv6 address information can be parsed in the PDP activation response message returned from the network side, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8. DRAWINGS
图 1为本发明实施例移动终端的单 PDP双栈连接的实现方法的流程示 意图;  1 is a schematic flow chart of a method for implementing a single PDP dual stack connection of a mobile terminal according to an embodiment of the present invention;
图 2为本发明实施例移动终端的单 PDP双栈连接的实现装置的结构框 图;  2 is a structural block diagram of an apparatus for implementing a single PDP dual stack connection of a mobile terminal according to an embodiment of the present invention;
图 3为本发明实施例移动终端的结构示意图;  3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图 4为本发明实施例移动终端进行单 PDP双栈拨号的信令交互示意图; 图 5为本发明实施例移动终端的地址分配信令交互示意图; 图 6为本发明实施例移动终端单 PDP双栈自动回退的状态示意图。 具体实施方式 4 is a schematic diagram of signaling interaction of a single PDP dual-stack dialing by a mobile terminal according to an embodiment of the present invention; FIG. 5 is a schematic diagram of an address allocation signaling interaction of a mobile terminal according to an embodiment of the present invention; FIG. 6 is a schematic diagram of a state in which a single PDP dual stack is automatically rolled back according to an embodiment of the present invention. detailed description
为使本发明的实施例要解决的技术问题、 技术方案和优点更加清楚, 下面将结合附图及具体实施例进行详细描述。  The technical problems, the technical solutions, and the advantages of the embodiments of the present invention will become more apparent from the following detailed description.
本发明的实施例针对现有技术中早期的移动终端在 Rel8以后的网络侧 下无法建立单 PDP双栈连接的问题,提供一种移动终端及其单 PDP双栈连 接的实现方法、 装置, 能够使移动终端在 Rel8以后的网络侧下建立单 PDP 双栈连接。  The embodiment of the present invention is directed to the problem that the mobile terminal in the prior art cannot establish a single PDP dual stack connection under the network side after the Rel8, and provides a mobile terminal and a single PDP dual stack connection implementation method and device thereof. The mobile terminal is allowed to establish a single PDP dual stack connection under the network side after Rel8.
图 1为本发明实施例移动终端的单 PDP双栈连接的实现方法的流程示 意图, 如图 1所示, 本实施例包括:  FIG. 1 is a schematic flowchart of a method for implementing a single PDP dual-stack connection of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1, the embodiment includes:
步驟 101 : 获取移动终端待发送的第一 PDP激活请求消息, 并将所述 第一 PDP激活请求消息转换为第二 PDP激活请求消息, 所述第二 PDP激 活请求消息的 PDP类型为 IPv4v6;  Step 101: Obtain a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6;
步驟 102: 向网络侧发送所述第二 PDP激活请求消息;  Step 102: Send the second PDP activation request message to the network side.
步驟 103: 解析网络侧返回的 PDP激活响应消息, 获取建立连接所需 的 IP地址信息和 DNS地址信息;  Step 103: Parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection.
步驟 104: 将所述 IP地址信息和 DNS地址信息分配给主机, 以建立所 述主机与网络侧之间的连接。  Step 104: Assign the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
本发明的实现方法,针对早期移动终端不支持单 PDP双栈功能的情况, 通过将 PDP激活请求消息中的原始 PDP类型替换为 IPv4v6,使移动终端能 够正常地发送 IPv4v6的 PDP激活请求消息到网络侧,并能从网络侧返回的 PDP激活响应消息中解析对应的 IPv4和 IPv6地址信息,从而使移动终端在 Rel8以后的网络侧下建立单 PDP双栈连接。  The implementation method of the present invention, for the case that the early mobile terminal does not support the single PDP dual stack function, enables the mobile terminal to normally send the IPv4v6 PDP activation request message to the network by replacing the original PDP type in the PDP activation request message with IPv4v6. On the side, the corresponding IPv4 and IPv6 address information can be parsed in the PDP activation response message returned from the network side, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.
具体地, 所述步驟 101包括: 从空口上截获移动终端待发送的第一 PDP激活请求消息, 将所述第一 PDP激活请求消息中的原始 PDP类型替换为 IPv4v6, 并将所述第一 PDP 激活请求消息的协议配置选项设置为向网络侧请求原始 PDP类型之外另一 种类型的域名系统 DNS地址信息, 得到第二 PDP激活请求消息。 Specifically, the step 101 includes: The first PDP activation request message to be sent by the mobile terminal is intercepted from the air interface, the original PDP type in the first PDP activation request message is replaced with IPv4v6, and the protocol configuration option of the first PDP activation request message is set to Another type of domain name system DNS address information other than the original PDP type is requested from the network side to obtain a second PDP activation request message.
其中, 第一 PDP激活请求消息可以为 IPv4 PDP激活请求消息或 IPv6 PDP激活请求消息。 移动终端在建立单 PDP双栈连接时, 需要将第一 PDP 激  The first PDP activation request message may be an IPv4 PDP activation request message or an IPv6 PDP activation request message. When the mobile terminal establishes a single PDP dual-stack connection, it needs to activate the first PDP.
活请求消息(即从空口上截获的原始 PDP激活请求消息)中的 PDP类 型替换为 IPv4v6, 并修改协议配置选项 (PCO-IE ) 的设置用于向网络侧请 求 DNS地址信息;  The PDP type in the live request message (that is, the original PDP activation request message intercepted from the air interface) is replaced with IPv4v6, and the setting of the protocol configuration option (PCO-IE) is modified to request the DNS address information from the network side;
具体地, 在所述第一 PDP激活请求消息为 IPv4 PDP激活请求消息时, 所述步驟 101包括:  Specifically, when the first PDP activation request message is an IPv4 PDP activation request message, the step 101 includes:
从空口上截获所述第一 PDP激活请求消息,并将所述第一 PDP激活请 求消息中的原始 PDP类型 IPv4替换为 IPv4v6, 在所述第一 PDP激活请求 消息的协议配置选项中增加 IPv6的 DNS请求信息字段, 得到第二 PDP激 活请求消息;  The first PDP activation request message is intercepted from the air interface, and the original PDP type IPv4 in the first PDP activation request message is replaced with IPv4v6, and IPv6 is added in the protocol configuration option of the first PDP activation request message. The DNS request information field obtains a second PDP activation request message;
具体地, 在所述第一 PDP激活请求消息为 IPv6 PDP激活请求消息时, 所述步驟 101包括:  Specifically, when the first PDP activation request message is an IPv6 PDP activation request message, the step 101 includes:
从空口上截获所述第一 PDP激活请求消息,并将所述第一 PDP激活请 求消息中的原始 PDP类型 IPv6替换为 IPv4v6, 在所述第一 PDP激活请求 消息的协议配置选项中增加 IPv4的 DNS请求信息字段, 得到第二 PDP激 活请求消息。  The first PDP activation request message is intercepted from the air interface, and the original PDP type IPv6 in the first PDP activation request message is replaced with IPv4v6, and IPv4 is added to the protocol configuration option of the first PDP activation request message. The DNS request information field obtains a second PDP activation request message.
所述步驟 103中,接收网络侧返回的 PDP激活响应消息后, 将 PDP激 活响应消息中的 PDP类型修改为替换之前的类型,从所述 PDP激活响应消 息中解析出 IP地址信息和 DNS地址信息。 在建立连接时, 如果发送的原始 PDP 激活请求消息的 PDP类型为 IPv4, 在收到网络侧返回的 PDP类型为 IPv4v6的 PDP激活响应消息后, 需要将 PDP激活响应消息中的 PDP类型修改为 IPv4; In the step 103, after receiving the PDP activation response message returned by the network side, the PDP type in the PDP activation response message is modified to the type before the replacement, and the IP address information and the DNS address information are parsed from the PDP activation response message. . When the connection is established, if the PDP type of the original PDP activation request message sent is IPv4, the PDP type in the PDP activation response message needs to be modified to IPv4 after receiving the PDP activation response message of the PDP type of the IPv4v6 returned by the network. ;
在建立连接时, 如果发送的原始 PDP 激活请求消息的 PDP类型为 IPv6, 在收到网络侧返回的 PDP类型为 IPv4v6的 PDP激活响应消息后, 需要将 PDP激活响应消息中的 PDP类型修改为 IPv6。  When the connection is established, if the PDP type of the original PDP activation request message sent is IPv6, the PDP type in the PDP activation response message needs to be changed to IPv6 after receiving the PDP activation response message of the PDP type of the IPv4v6. .
优选地, 上述方案中, 所述 IP地址信息包括有 IPv4地址, 所述 DNS 地址信息包括有 IPv4 DNS地址, 步驟 104包括: 接收所述主机请求 IPv4 地址的 DHCP(动态主机设置协议)消息,进行 DHCP地址协商,通过 DHCP 响应消息将 IPv4地址及 IPv4 DNS地址分配给所述主机。  Preferably, in the above solution, the IP address information includes an IPv4 address, the DNS address information includes an IPv4 DNS address, and the step 104 includes: receiving a DHCP (Dynamic Host Setup Protocol) message requesting the IPv4 address by the host, and performing The DHCP address is negotiated, and the IPv4 address and the IPv4 DNS address are assigned to the host through a DHCP response message.
优选地, 上述方案中, 所述 IP地址信息包括有 IP V6前缀地址, 所述 DNS地址信息包括有 IPv6 DNS地址, 所述步驟 104包括:  Preferably, in the above solution, the IP address information includes an IP V6 prefix address, and the DNS address information includes an IPv6 DNS address, and the step 104 includes:
接收所述主机的 IPV6路由请求(RS ) 消息, 通过 IPV6路由通告消息 ( RA )将所述 IPV6前缀地址和 IPv6 DNS地址分配给所述主机, 以便所述 主机根据所述 IPV6前缀地址生成全局 IPV6地址。  Receiving an IPV6 Routing Request (RS) message of the host, and assigning the IPV6 prefix address and an IPv6 DNS address to the host by using an IPV6 Route Advertisement message (RA), so that the host generates a global IPV6 according to the IPV6 prefix address. address.
优选地, 上述方案中, 所述通过 IPV6路由通告消息将所述 IPV6前缀 地址和 IPv6 DNS地址分配给主机之后还包括:  Preferably, in the foregoing solution, after the IPV6 prefix advertisement address and the IPv6 DNS address are allocated to the host by using the IPV6 route advertisement message, the method further includes:
检测步驟: 接收所述主机的携带有全局 IPV6地址的 IPV6邻居请求消 息 ( NS ), 根据所述全局 IPV6地址进行地址沖突检测;  The detecting step is: receiving an IPV6 neighbor request message (NS) carrying the global IPV6 address of the host, and performing address conflict detection according to the global IPV6 address;
将地址沖突检测结果通过 IPV6邻居响应消息( NA )返回给所述主机。 优选地, 本发明的移动终端还支持自动回退功能, 即在发起单 PDP双 栈拨号时, 当网络侧不支持 IPv4v6单 PDP双栈功能时, 需要实现自动回退 功能。 具体地, 所述方法还包括回退步驟: 在接收到网络侧返回的 PDP激 活响应消息后, 判断 PDP激活响应消息中是否包括有 PDP激活错误码, 在 PDP激活响应消息中还包括有 PDP激活错误码时,按照与所述 PDP激活错 误码对应的回退规则,尝试建立移动终端的双 PDP双栈连接或者单 PDP单 栈连接。 The address conflict detection result is returned to the host through the IPV6 Neighbor Response message (NA). Preferably, the mobile terminal of the present invention also supports an automatic fallback function, that is, when a single PDP dual-stack dialing is initiated, when the network side does not support the IPv4v6 single PDP dual stack function, an automatic fallback function needs to be implemented. Specifically, the method further includes a step of rewinding: after receiving the PDP activation response message returned by the network side, determining whether a PDP activation error code is included in the PDP activation response message, and further including PDP activation in the PDP activation response message. When the error code is activated, it is wrong with the PDP activation. The fallback rule corresponding to the error is attempted to establish a dual PDP dual stack connection or a single PDP single stack connection of the mobile terminal.
优选地, 上述方案中, 所述回退步驟包括:  Preferably, in the foregoing solution, the step of retreating includes:
在所述 PDP激活响应消息中包括有由于 IPv6连接导致的单 PDP双栈 连接建立失败的 PDP激活错误码时, 进入 IPv4单栈启动状态, 尝试建立移 动终端的 IPv4单栈连接;  When the PDP activation response message includes a PDP activation error code that fails to establish a single PDP dual stack connection due to an IPv6 connection, the IPv4 single-stack startup state is entered, and an IPv4 single-stack connection of the mobile terminal is attempted to be established;
在所述 PDP激活响应消息中包括有 IPV4地址和单 PDP双栈连接建立 失败的 PDP激活错误码时, 进入双 PDP双栈启动状态, 发起 IPV6单栈拨 号, 尝试建立移动终端的双 PDP双栈连接;  When the PDP activation response message includes the PDP activation error code with the IPV4 address and the single PDP dual-stack connection establishment failure, enter the dual PDP dual-stack startup state, initiate IPV6 single-stack dialing, and attempt to establish a dual PDP dual stack of the mobile terminal. Connection
在所述 PDP激活响应消息中包括有 IPV6地址和和单 PDP双栈连接建 立失败的 PDP激活错误码时, 进入双 PDP双栈启动状态, 发起 IPV4单栈 拨号, 尝试建立移动终端的双 PDP双栈连接。  When the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection, enter the dual PDP dual stack startup state, initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal. Stack connection.
具体地,在所述 PDP激活响应消息中包括有 #28的 PDP激活错误码时, 尝试建立移动终端的 IPv4单栈连接;  Specifically, when the PDP activation error code of the #28 is included in the PDP activation response message, an attempt is made to establish an IPv4 single-stack connection of the mobile terminal;
在所述 PDP激活响应消息中包括有 IPV4地址和 #52的 PDP激活错误 码时, 发起 IPV6单栈拨号, 尝试建立移动终端的双 PDP双栈连接;  When the PDP activation response message includes the IPV4 address and the PDP activation error code of #52, the IPV6 single-stack dialing is initiated, and the dual PDP dual-stack connection of the mobile terminal is attempted to be established;
在所述 PDP激活响应消息中包括有 IPV6地址和 #52的 PDP激活错误 码时, 发起 IPV4单栈拨号, 尝试建立移动终端的双 PDP双栈连接。  When the PDP activation response message includes the IPV6 address and the PDP activation error code of #52, the IPV4 single-stack dialing is initiated, and an attempt is made to establish a dual PDP dual-stack connection of the mobile terminal.
优选地, 可以按照如下不同场景实现自动回退功能:  Preferably, the automatic fallback function can be implemented in different scenarios as follows:
1、 网络侧返回的 PDP激活错误码为 #28时, 将发起 IPv4的拨号流程, 尝试建立 IPv4单栈连接;  1. When the PDP activation error code returned by the network side is #28, the IPv4 dialing process will be initiated, and an IPv4 single-stack connection is attempted.
2、网络侧返回的 PDP激活响应消息中包括有 IPV4地址和不带特定 SM 原因的 PDP激活错误码时, 将会发起 IPv6的拨号流程, 尝试建立双 PDP 双栈;  2. When the PDP activation response message returned by the network side includes the IPV4 address and the PDP activation error code without the specific SM cause, the IPv6 dialing process will be initiated to try to establish a dual PDP dual stack.
3、 网络侧返回的 PDP激活响应消息中包括有 IPV4地址和 #52的 PDP 激活错误码时, 将会发起 IPv6的拨号流程, 尝试建立双 PDP双栈连接;3. The PDP activation response message returned by the network side includes the PDP with the IPV4 address and #52. When the error code is activated, an IPv6 dialing process will be initiated to attempt to establish a dual PDP dual stack connection;
4、 网络侧返回的 PDP激活响应消息中包括有 IPV6地址和 #52的 PDP 激活错误码时, 将会发起 IPv4的拨号流程, 尝试建立双 PDP双栈连接;4. When the PDP activation response message returned by the network side includes the IPV6 address and the #52 PDP activation error code, the IPv4 dialing process will be initiated to attempt to establish a dual PDP dual stack connection.
5、 网络侧返回的 PDP激活响应消息中包括有 IPV4地址和 #50的 PDP 激活错误码时, 将不再发起 IPv6的拨号流程, 提示移动终端仅工作在 IPv4 单栈模式; 5. When the PDP activation response message returned by the network side includes the IPV4 address and the #50 PDP activation error code, the IPv6 dialing process will not be initiated, indicating that the mobile terminal only works in the IPv4 single-stack mode.
6、 网络侧返回的 PDP激活响应消息中包括有 IPV6地址和 #51的 PDP 激活错误码时, 将不再发起 IPv4的拨号流程, 提示移动终端仅工作在 IPv6 单栈模式。  6. When the PDP activation response message returned by the network side includes the IPV6 address and the #51 PDP activation error code, the IPv4 dialing process will not be initiated, indicating that the mobile terminal only works in the IPv6 single-stack mode.
图 2为本发明实施例移动终端的单 PDP双栈连接的实现装置的结构框 图, 如图 2所示, 本实施例包括:  2 is a structural block diagram of an apparatus for implementing a single PDP dual-stack connection of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, this embodiment includes:
转换单元 20, 配置为获取移动终端待发送的第一 PDP激活请求消息, 并将所述第一 PDP激活请求消息转换为第二 PDP激活请求消息,所述第二 PDP激活请求消息的 PDP类型为 IPv4v6;  The converting unit 20 is configured to acquire a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6;
发送单元 22, 配置为向网络侧发送所述第二 PDP激活请求消息; 解析单元 24, 配置为解析网络侧返回的 PDP激活响应消息, 获取建立 连接所需的 IP地址信息和 DNS地址信息;  The sending unit 22 is configured to send the second PDP activation request message to the network side; the parsing unit 24 is configured to parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection;
地址分配单元 26, 配置为所述 IP地址信息和 DNS地址信息分配给主 机, 以建立所述主机与网络侧之间的连接。  The address assigning unit 26 is configured to allocate the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
优选地, 上述方案中, 所述转换单元 20还配置为从空口上截获移动终 端待发送的第一 PDP激活请求消息,将所述第一 PDP激活请求消息中的原 始 PDP类型替换为 IPv4v6,并将所述第一 PDP激活请求消息的协议配置选 项设置为向网络侧请求原始 PDP类型之外另一种类型的域名系统 DNS地址 信息, 得到第二 PDP激活请求消息。  Preferably, in the above solution, the converting unit 20 is further configured to: intercept the first PDP activation request message to be sent by the mobile terminal from the air interface, replace the original PDP type in the first PDP activation request message with IPv4v6, and The protocol configuration option of the first PDP activation request message is set to request another type of domain name system DNS address information other than the original PDP type from the network side to obtain a second PDP activation request message.
优选地,上述方案中,在所述第一 PDP激活请求消息为 IPv4 PDP激活 请求消息时,所述转换单元 20配置为从空口上截获所述第一 PDP激活请求 消息, 并将所述第一 PDP激活请求消息中的原始 PDP类型 IPv4替换为 IPv4v6,在所述第一 PDP激活请求消息的协议配置选项中增加 IPv6的 DNS 请求信息字段, 得到第二 PDP激活请求消息; Preferably, in the above solution, the first PDP activation request message is an IPv4 PDP activation. When the message is requested, the converting unit 20 is configured to intercept the first PDP activation request message from the air interface, and replace the original PDP type IPv4 in the first PDP activation request message with IPv4v6, in the first PDP Adding a DNS request information field of the IPv6 to the protocol configuration option of the activation request message, to obtain a second PDP activation request message;
在所述第一 PDP激活请求消息为 IPv6 PDP激活请求消息时,所述转换 单元 20配置为从空口上截获所述第一 PDP激活请求消息, 并将所述第一 PDP激活请求消息中的原始 PDP类型 IPv6替换为 IPv4v6,在所述第一 PDP 激活请求消息的协议配置选项中增加 IPv4的 DNS请求信息字段,得到第二 PDP激活请求消息。  When the first PDP activation request message is an IPv6 PDP activation request message, the converting unit 20 is configured to intercept the first PDP activation request message from an air interface, and to original in the first PDP activation request message The PDP type IPv6 is replaced with IPv4v6, and the IPv4 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message.
优选地, 上述方案中, 所述 IP地址信息包括有 IPv4地址, 所述 DNS 地址信息包括有 IPv4 DNS地址,  Preferably, in the foregoing solution, the IP address information includes an IPv4 address, and the DNS address information includes an IPv4 DNS address.
所述地址分配单元还配置为接收所述主机请求 IPv4地址的动态主机设 置协议 DHCP消息, 通过 DHCP响应消息将 IPv4地址及 IPv4 DNS地址分 配给所述主机。  The address allocation unit is further configured to receive a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assign an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
优选地, 上述方案中, 所述 IP地址信息包括有 IP V6前缀地址, 所述 DNS地址信息包括有 IPv6 DNS地址,  Preferably, in the above solution, the IP address information includes an IP V6 prefix address, and the DNS address information includes an IPv6 DNS address.
所述地址分配单元还配置为接收所述主机的 IPV6路由请求消息,通过 IPV6路由通告消息将所述 IPV6前缀地址和 IPv6 DNS地址分配给所述主 机, 以便所述主机根据所述 IPV6前缀地址生成全局 IPV6地址。  The address allocation unit is further configured to receive an IPV6 routing request message of the host, and allocate the IPV6 prefix address and an IPv6 DNS address to the host by using an IPV6 route advertisement message, so that the host generates the IPV6 prefix address according to the IPV6 Global IPV6 address.
优选地, 上述方案中, 所述装置还包括:  Preferably, in the above solution, the device further includes:
检测单元, 配置为在所述地址分配单元通过 IPV6路由通告消息将所述 IP V6前缀地址和 IPv6 DNS地址分配给主机之后, 接收所述主机的携带有 全局 IPV6地址的 IPV6邻居请求消息,根据所述全局 IPV6地址进行地址沖 突检测, 并将地址沖突检测结果通过 IPV6邻居响应消息返回给所述主机。  The detecting unit is configured to: after the IP address distribution unit sends the IP V6 prefix address and the IPv6 DNS address to the host by using the IPV6 route advertisement message, receive the IPV6 neighbor request message of the host that carries the global IPV6 address, according to the The global IPV6 address is used for address conflict detection, and the address conflict detection result is returned to the host through the IPV6 neighbor response message.
优选地, 上述方案中, 所述装置还包括: 回退单元,配置为在所述 PDP激活响应消息中还包括有 PDP激活错误 码时, 按照与所述 PDP激活错误码对应的回退规则, 尝试建立移动终端的 双 PDP双栈连接或者单 PDP单栈连接。 Preferably, in the above solution, the device further includes: a fallback unit, configured to: when the PDP activation error message is further included in the PDP activation response message, attempt to establish a dual PDP dual stack connection or a single PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Single stack connection.
本发明的实现装置,针对早期移动终端不支持单 PDP双栈功能的情况, 通过将 PDP激活请求消息中的原始 PDP类型替换为 IPv4v6,使移动终端能 够正常地发送 IPv4v6的 PDP激活请求消息到网络侧,并能从网络侧返回的 PDP激活响应消息中解析对应的 IPv4和 IPv6地址信息,从而使移动终端在 Rel8以后的网络侧下建立单 PDP双栈连接。  The implementation device of the present invention enables the mobile terminal to normally send an IPv4v6 PDP activation request message to the network by replacing the original PDP type in the PDP activation request message with IPv4v6 for the case where the early mobile terminal does not support the single PDP dual stack function. On the side, the corresponding IPv4 and IPv6 address information can be parsed in the PDP activation response message returned from the network side, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.
本发明实施例还提供了一种移动终端, 包括如上所述的移动终端单 PDP 双栈连接的实现装置, 具体地, 该移动终端可以为设置在主机中的数 据卡, 通过该移动终端可以实现主机与网络侧之间的连接。  The embodiment of the present invention further provides a mobile terminal, which includes the device for implementing a single PDP dual stack connection of the mobile terminal as described above. Specifically, the mobile terminal may be a data card disposed in the host, and the mobile terminal can be implemented by the mobile terminal. The connection between the host and the network side.
下面结合附图以及具体的实施例对本发明的移动终端的单 PDP双栈连 接的实现方法、 装置进行详细介绍:  The method and device for implementing single PDP dual stack connection of the mobile terminal of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments:
1、所述移动终端包含 WAN( Wide Area Network,广域网)和 LAN( Local Area Network, 局域网 )两个模块, 其中 WAN模块配置为发送 PDP激活请 求消息到网络侧获取连接建立所需的地址信息, 具体地可以包括上述转换 单元、 发送单元和解析单元, LAN模块配置为控制移动终端与主机之间的 连接状态并将从网络侧获取的地址信息分配给主机, 具体地可以包括上述 分配单元。  The mobile terminal includes two modules, a WAN (Wide Area Network) and a LAN (Local Area Network), wherein the WAN module is configured to send a PDP activation request message to the network side to obtain address information required for connection establishment. Specifically, the conversion unit, the sending unit, and the parsing unit may be included. The LAN module is configured to control a connection status between the mobile terminal and the host, and allocate address information acquired from the network side to the host, and specifically may include the foregoing allocating unit.
优选地, 所述移动终端的 WAN模块, 配置为控制移动终端同网络侧进 行 PDP上下文协商, 以获取 IPv4连接所需的 IPv4地址或者 IPv6连接所需 的 IPv6地址以及 DNS地址信息; 所述移动终端的 LAN模块, 配置为控制 移动终端与主机之间的连接状态, 同时负责将 WAN模块从网络侧获取的 IPv4和 IPv6地址信息, 通过 DHCP协商和无状态自动配置分配给主机。  Preferably, the WAN module of the mobile terminal is configured to control the PDP context negotiation between the mobile terminal and the network side to obtain an IPv4 address required for an IPv4 connection or an IPv6 address and DNS address information required for an IPv6 connection; The LAN module is configured to control the connection state between the mobile terminal and the host, and is responsible for allocating IPv4 and IPv6 address information acquired by the WAN module from the network side to the host through DHCP negotiation and stateless automatic configuration.
如图 3 所示为本发明具体实施例的移动终端的模块图, 该移动终端中 包含 WAN模块、 LAN模块以及无线通信协议栈模块,其中 WAN模块配置 为控制移动终端同网络侧进行 PDP协商, LAN模块配置为控制移动终端与 主机之前的连接状态和地址协商。 拨号连接建立时, 主机发送拨号请求到 移动终端, WAN模块控制无线通信协议栈模块发送 PDP激活请求消息到网 络侧获取到地址信息。当移动终端收到网络侧返回的 PDP激活响应消息后, WAN模块通知 LAN模块和主机连接建立, 之后从网络侧返回的 PDP激活 响应消息中解析出 IP地址信息并提供给 LAN模块, LAN模块通过 DHCP 协商将 IPv4地址及 DNS信息分配给主机,同时通过无状态自动配置将 IPv6 地址分配给主机。 FIG. 3 is a block diagram of a mobile terminal according to a specific embodiment of the present invention, where the mobile terminal is in the mobile terminal The WAN module, the LAN module, and the wireless communication protocol stack module are configured, wherein the WAN module is configured to control the mobile terminal to perform PDP negotiation with the network side, and the LAN module is configured to control the connection state and address negotiation of the mobile terminal and the host before. When the dial-up connection is established, the host sends a dial-up request to the mobile terminal, and the WAN module controls the wireless communication protocol stack module to send a PDP activation request message to the network side to obtain the address information. After the mobile terminal receives the PDP activation response message returned by the network side, the WAN module notifies the LAN module to establish a connection with the host, and then parses the IP address information from the PDP activation response message returned from the network side and provides the information to the LAN module, and the LAN module passes DHCP negotiation assigns IPv4 addresses and DNS information to hosts, and assigns IPv6 addresses to hosts through stateless autoconfiguration.
如图 4所示, 为本发明具体实施例中移动终端进行单 PDP双栈拨号的 信令交互示意图, 具体过程如下:  As shown in FIG. 4, it is a schematic diagram of signaling interaction of a single PDP dual-stack dialing in a mobile terminal according to a specific embodiment of the present invention. The specific process is as follows:
1、 拨号连接建立时, 主机发送拨号请求到移动终端。  1. When the dial-up connection is established, the host sends a dial-up request to the mobile terminal.
2、 移动终端在收到拨号请求后, 由于不支持单 PDP双栈拨号, 因此移 动终端将按照默认设置发起 IPv4或者 IPv6的 PDP激活请求消息。 当 WAN 模块判断当前需要建立单 PDP双栈拨号,则在原始 PDP激活请求消息发送 之前从空口上截获原始 PDP 激活请求消息, 将其中地址信息请求部分的 PDP类型修改为 IPv4v6, 同时在协议配置选项中增加 IPv6或者 IPv4 DNS 的请求信息。 如果移动终端默认发送的是 IPv4 PDP激活请求消息, WAN 模块需要将其地址字段中的 PDP类型信息从 0x21 ( IPv4 )修改为 0x8d 2. After receiving the dialing request, the mobile terminal does not support single PDP dual stack dialing, so the mobile terminal will initiate an IPv4 or IPv6 PDP activation request message according to the default setting. When the WAN module determines that the single PDP dual-stack dialing needs to be established, the original PDP activation request message is intercepted from the air interface before the original PDP activation request message is sent, and the PDP type of the address information request part is modified to IPv4v6, and the protocol configuration option is also selected. Add request information for IPv6 or IPv4 DNS. If the mobile terminal sends an IPv4 PDP activation request message by default, the WAN module needs to change the PDP type information in its address field from 0x21 (IPv4) to 0x8d.
( IPv4v6 ), 同时在协议配置选项 ( PCO-IE ) 中增加 IPv6的 DNS请求信息 字段(0x03 )。 如果移动终端默认发送的是 IPv6 PDP激活请求消息, WAN 模块需要将其地址字段中的 PDP类型信息从 0x57 ( IPv4 )修改为 0x8d(IPv4v6), also add the IPv6 DNS Request Information field (0x03) in the Protocol Configuration Option (PCO-IE). If the mobile terminal sends an IPv6 PDP activation request message by default, the WAN module needs to change the PDP type information in its address field from 0x57 (IPv4) to 0x8d.
( IPv4v6 ), 同时在协议配置选项 ( PCO-IE ) 中增加 IPv4的 DNS请求信息 字段; (IPv4v6), adding the IPv4 DNS Request Information field in the Protocol Configuration Option (PCO-IE);
另外, 如果 WAN模块判断当前不需要建立单 PDP双栈拨号, 则直接 发送原始 PDP激活请求消息到网络侧。 In addition, if the WAN module determines that it is not currently required to establish a single PDP dual stack dialing, The original PDP activation request message is sent to the network side.
3、 WAN模块将修改完成后得到的 PDP激活请求消息通过无线通信协 议栈模块发送给网络侧。  3. The WAN module sends the PDP activation request message obtained after the modification is completed to the network side through the wireless communication protocol stack module.
4、 网络侧收到移动终端发送的 IPv4v6 PDP激活请求消息后, 将 IPv4 地址、 IPv6地址以及其他配置信息封装在激活 PDP响应消息里, 发回给移 动终端, 其中, 其他配置信息包括 DNS地址信息和 /或错误码信息。  4. After receiving the IPv4v6 PDP activation request message sent by the mobile terminal, the network side encapsulates the IPv4 address, the IPv6 address, and other configuration information in the activation PDP response message, and sends it back to the mobile terminal, where other configuration information includes the DNS address information. And/or error code information.
5、 WAN模块监测到网络侧返回了 PDP激活响应消息后, 则将 PDP激 活响应消息中的 PDP类型修改为默认发起的 PDP类型, 同时从 PDP激活 响应消息中解析出 IPv4地址、 IPv6地址及 DNS地址信息, 之后将 PDP激 活响应消息返回给无线通信协议栈模块。 如果网络侧返回的 PDP激活响应 消息中携带有错误码信息, WAN模块将根据解析的错误码信息按照协议规 定控制无线通信协议栈进行自动回退。  5. After the WAN module detects that the network side returns the PDP activation response message, it changes the PDP type in the PDP activation response message to the default PDP type, and resolves the IPv4 address, IPv6 address, and DNS from the PDP activation response message. The address information is then returned to the wireless communication protocol stack module. If the PDP activation response message returned by the network side carries the error code information, the WAN module will automatically control the wireless communication protocol stack to perform automatic rollback according to the parsed error code information.
6、无线通信协议栈模块收到 PDP激活响应消息后, WAN模块通知 LAN 模块和主机连接成功建立, LAN模块将启动 IPv4和 IPv6协议栈。  6. After receiving the PDP activation response message, the WAN module notifies the LAN module and the host that the connection is successfully established, and the LAN module starts the IPv4 and IPv6 protocol stacks.
7、 WAN模块将从 PDP激活响应消息中解析的 IPv4地址、 IPv6地址以 及 DNS地址提供给 LAN模块。  7. The WAN module provides the IPv4 address, the IPv6 address, and the DNS address parsed from the PDP activation response message to the LAN module.
8、 LAN模块收到 WAN模块提供的地址信息之后,将 IPv4地址及 DNS 通过 DHCP协商分配给主机,将 IPv6地址通过无状态自动配置分配给主机, IPv6 DNS通过有状态 DHCPv6配置分配给主机。 至此, 地址分配完成, 主 机与网络侧之间的连接成功建立, 主机和网络侧之间可以进行通信。  After receiving the address information provided by the WAN module, the LAN module assigns the IPv4 address and the DNS to the host through DHCP negotiation, and assigns the IPv6 address to the host through stateless autoconfiguration. The IPv6 DNS is assigned to the host through the stateful DHCPv6 configuration. At this point, the address assignment is completed, the connection between the host and the network side is successfully established, and communication can be performed between the host and the network side.
如图 5 所示, 为本发明公开的移动终端地址分配交互图, 具体过程如 下:  As shown in FIG. 5, the mobile terminal address allocation interaction diagram disclosed in the present disclosure is as follows:
1、 LAN模块收到 WAN模块提供的 IPv4地址和 DNS地址信息后, 将 通过 DHCP协商将 IPv4地址和 DNS地址信息分配给主机, 具体地, LAN 模块收到主机请求 IPV4地址的 DHCP请求消息后, 通过 DHCP响应消息 将 IPv4地址和 DNS地址信息分配给主机。 1. After receiving the IPv4 address and DNS address information provided by the WAN module, the LAN module allocates the IPv4 address and the DNS address information to the host through DHCP negotiation. Specifically, after receiving the DHCP request message of the host requesting the IPV4 address, the LAN module receives the DHCP request message. Respond to messages via DHCP Assign IPv4 address and DNS address information to the host.
2、 LAN模块收到 WAN模块提供的 IPv6地址和 DNS地址信息后, 将 通过无状态自动配置将 IPv6地址分配给主机。 具体地, 主机会发送路由请 求(RS ) 消息到移动终端, LAN模块收到路由请求消息后, 将 WAN模块 提供的 IPv6前缀地址通过路由通告( RA )消息返回给主机, 主机收到 IPv6 前缀地址后将自动生成全局 IPv6地址。 LAN模块将通过无状态 DHCPV6 配置将 IPv6 DNS配置给主机, 这里不再赘述。  2. After receiving the IPv6 address and DNS address information provided by the WAN module, the LAN module will assign the IPv6 address to the host through stateless autoconfiguration. Specifically, the host sends a route request (RS) message to the mobile terminal, and after receiving the route request message, the LAN module returns the IPv6 prefix address provided by the WAN module to the host through a route advertisement (RA) message, and the host receives the IPv6 prefix address. The global IPv6 address will be automatically generated. The LAN module configures the IPv6 DNS to the host through the stateless DHCPv6 configuration, which is not mentioned here.
3、 主机生成全局 IPv6地址后, 将发送携带有全局 IPv6地址的邻居请 求(NS ) 消息到移动终端进行地址沖突检测 (DAD ), LAN模块收到邻居 请求(NS )消息后需要构造对应的邻居通告(NA )消息发送给主机, 以完 成地址沖突检测 (DAD )。  3. After the host generates a global IPv6 address, it sends a Neighbor Solicitation (NS) message carrying the global IPv6 address to the mobile terminal for address collision detection (DAD). After receiving the Neighbor Solicitation (NS) message, the LAN module needs to construct the corresponding neighbor. A notification (NA) message is sent to the host to complete address conflict detection (DAD).
其中, 上述 IPv4地址协商和 IPv6地址协商无先后的时序关系, 图 5 只是一种可能的执行过程。  The foregoing IPv4 address negotiation and IPv6 address negotiation have no sequential relationship. Figure 5 is only a possible execution process.
如图 6所示, 为本发明公开的移动终端单 PDP双栈自动回退状态图, 其中 SM (会话管理) 是无线通信协议栈的连接管理层 (Connection Management ) 中的会话管理模块, 用以管理 PDP上下文的激活状态以及控 制无线接入承载的建立、 修改和释放。 在本发明中为了实现移动终端的自 动回退, 为 SM的状态机增加了 IPv4v6— SM— DOWN (单 PDP双栈终止) 和 IPv4v6— SM— UP (单 PDP 双栈工作) 两种终结态, 以及对应的 IPv4v6_SM_COMING_UP ( 单 PDP 双 栈 启 动 ) 和 IPv4v6—SM— COMING— DOWN (单 PDP双栈关闭 ) 两种中间转换态。 这四 种状态与其他单栈连接状态( IPv4— SM— UP ( IPv4单栈启动), IPv6— SM— UP ( IPv6单栈启动)) 以及双 PDP双栈状态 ( IPv4_IPv6_SM_UP, 双 PDP双 栈启动)之间的状态迁移流程如下:  As shown in FIG. 6 , it is a single PDP dual stack automatic fallback state diagram of a mobile terminal according to the present invention, where SM (session management) is a session management module in a connection management layer of a wireless communication protocol stack, Manage the activation status of the PDP context and control the establishment, modification, and release of the radio access bearer. In the present invention, in order to realize the automatic fallback of the mobile terminal, two final states of IPv4v6-SM-DOWN (single PDP dual stack termination) and IPv4v6-SM-UP (single PDP dual stack operation) are added for the state machine of the SM. And the corresponding IPv4v6_SM_COMING_UP (single PDP dual stack startup) and IPv4v6-SM-COMING-DOWN (single PDP dual stack shutdown) two intermediate conversion states. These four states are connected to other single-stack states (IPv4-SM-UP (IPv4 single-stack boot), IPv6-SM-UP (IPv6 single-stack boot)) and dual PDP dual-stack state (IPv4_IPv6_SM_UP, dual PDP dual stack boot) The state transition process between the following is as follows:
1、单 PDP双栈拨号建立之前, SM模块处于 IPv4v6— SM— DOWN状态, 移动终端收到单 PDP双栈的拨号命令之后, WAN模块将控制无线通信协议 栈模块发送单 PDP 双栈激活请求消息, 并将 SM 模块的状态修改为 IPv4v6—SM— COMING— UP; 1. Before the single PDP dual stack dialing is established, the SM module is in the IPv4v6-SM-DOWN state. After the mobile terminal receives the dialing command of the single PDP dual stack, the WAN module controls the wireless communication protocol stack module to send a single PDP dual stack activation request message, and modifies the state of the SM module to IPv4v6-SM_COMING_UP;
2、 当移动终端收到网络侧返回的单 PDP双栈激活响应消息后, WAN 模块判断网络侧接受了移动终端的单 PDP双栈拨号请求并分配了 IPv4和 2. After the mobile terminal receives the single PDP dual stack activation response message returned by the network side, the WAN module determines that the network side accepts the single PDP dual stack dialing request of the mobile terminal and allocates IPv4 and
IPv6地址后, 将 SM模块的状态修改为 IPv4v6— SM— UP, 同时通知 LAN模 块单 PDP双栈连接建立; After the IPv6 address, the state of the SM module is changed to IPv4v6-SM_UP, and the LAN module single PDP dual-stack connection is notified;
3、 在连接建立的情况下, 当移动终端收到拨号断开的指令后, WAN 模块将控制无线通信协议栈模块发送单 PDP双栈去激活请求消息,并将 SM 模块的状态修改为 IPv4v6—SM— COMING— DOWN;  3. In the case of connection establishment, when the mobile terminal receives the dial-off command, the WAN module will control the wireless communication protocol stack module to send a single PDP dual-stack deactivation request message, and modify the state of the SM module to IPv4v6— SM—COMING— DOWN;
4、当移动终端收到网络侧返回的单 PDP双栈去激活响应消息后, WAN 模块将 SM模块的状态修改为 IPv4v6— SM— DOWN, 同时通知 LAN模块单 PDP双栈连接断开;  4. After the mobile terminal receives the single PDP dual stack deactivation response message returned by the network side, the WAN module changes the state of the SM module to IPv4v6_SM_DOWN, and notifies the LAN module that the single PDP dual stack connection is disconnected;
5、 当移动终端收到网络侧返回的单 PDP双栈激活响应消息后, WAN 模块判断网络侧返回了 IPv4地址并携带 #50的 PDP激活错误码时,会将 SM 模块的状态修改为 IPv4— SM— UP, 同时通知 LAN模块当前建立的是 IPv4 单栈连接;  5. After the mobile terminal receives the single PDP dual stack activation response message returned by the network side, the WAN module determines that the network side returns the IPv4 address and carries the #50 PDP activation error code, and the state of the SM module is modified to IPv4— SM_UP, simultaneously notifying the LAN module that an IPv4 single-stack connection is currently established;
6、 当移动终端收到网络侧返回的单 PDP双栈激活响应消息后, WAN 模块判断网络侧返回了 IPv6地址并携带 #51的 PDP激活错误码时,会将 SM 模块的状态修改为 IPv6— SM— UP, 同时通知 LAN模块当前建立的是 IPv6 单栈连接;  6. When the mobile terminal receives the single PDP dual stack activation response message returned by the network side, the WAN module determines that the network side returns the IPv6 address and carries the #51 PDP activation error code, and the state of the SM module is modified to IPv6. SM_UP, and notify the LAN module that the IPv6 single-stack connection is currently established;
7、 当移动终端收到网络侧返回的单 PDP双栈激活响应消息后, WAN 模块判断网络侧返回了 IPv4地址并携带 #52的 PDP激活错误码时,会将 SM 模块的状态修改为 IPv4— IPv6— SM— COMING— UP,之后控制无线通信协议栈 模块发起 IPv6 单栈拨号, 如果拨号成功, 则将 SM模块的状态修改为 IPv4— IPv6— SM— UP , 同时通知 LAN模块双 PDP双栈连接建立;7. After the mobile terminal receives the single PDP dual stack activation response message returned by the network side, the WAN module determines that the network side returns the IPv4 address and carries the #52 PDP activation error code, and the state of the SM module is changed to IPv4— IPv6—SM—COMING—UP, then control the wireless communication protocol stack module to initiate IPv6 single-stack dialing. If the dialing is successful, the state of the SM module is modified to IPv4—IPv6—SM—UP, and notify the LAN module to establish a dual PDP dual stack connection;
8、 当移动终端收到网络侧返回的单 PDP双栈激活响应消息后, WAN 模块判断网络侧返回了 IPv6地址并携带 #52的 PDP激活错误码时,会将 SM 模块的状态修改为 IPv4— IPv6— SM— COMING— UP,之后控制无线通信协议栈 模块发起 IPv4 单栈拨号, 如果拨号成功, 则将 SM模块的状态修改为 IPv4— IPv6— SM— UP , 同时通知 LAN模块双 PDP双栈连接建立; 8. After the mobile terminal receives the single PDP dual stack activation response message returned by the network side, the WAN module determines that the network side returns the IPv6 address and carries the #52 PDP activation error code, and the state of the SM module is modified to IPv4— IPv6—SM—COMING—UP, then control the wireless communication protocol stack module to initiate IPv4 single-stack dialing. If the dialing is successful, modify the state of the SM module to IPv4—IPv6—SM—UP, and notify the LAN module of dual PDP dual stack connections. set up;
9、 当移动终端收到网络侧返回的单 PDP双栈激活拒绝消息后, WAN 模块判断如果网络侧拒绝的 PDP激活错误码原因是 #28时, 将控制无线通 信协议栈模块发起 IPv4单栈拨号, 如果拨号成功, 则将 SM模块的状态修 改为 IPv4— SM UP , 同时通知 LAN模块当前建立的是 IPv4单栈连接; 异常流程如下:  9. After the mobile terminal receives the single PDP dual stack activation reject message returned by the network side, the WAN module determines that if the PDP activation error code reason rejected by the network side is #28, the wireless communication protocol stack module is controlled to initiate IPv4 single stack dialing. If the dialing is successful, the state of the SM module is changed to IPv4_SM UP, and the LAN module is notified that the IPv4 single stack connection is currently established; the exception process is as follows:
10、 当移动终端收到网络侧返回的携带其他原因的单 PDP双栈激活拒 绝消息后, WAN模块将 SM模块的状态修改为 IPv4v6— SM— DOWN, 同时 通知 LAN模块连接建立失败;  10. After the mobile terminal receives the single PDP dual-stack activation rejection message returned by the network side for other reasons, the WAN module changes the state of the SM module to IPv4v6-SM_DOWN, and notifies the LAN module that the connection establishment fails.
11、 在连接建立的情况下, 当移动终端由于其他异常的原因导致 PDP 去激活, WAN模块将 SM模块的状态修改为 IPv4v6— SM— DOWN, 同时通 知 LAN模块连接异常断开。  11. In the case of connection establishment, when the mobile terminal deactivates the PDP due to other abnormal reasons, the WAN module modifies the state of the SM module to IPv4v6-SM_DOWN, and informs that the LAN module connection is abnormally disconnected.
此说明书中所描述的许多功能部件都被称为模块, 以便更加特别地强 调其实现方式的独立性。  Many of the functional components described in this specification are referred to as modules to more particularly emphasize the independence of their implementation.
本发明实施例中, 模块可以用软件实现, 以便由各种类型的处理器执 行。 举例来说, 一个标识的可执行代码模块可以包括计算机指令的一个或 多个物理或者逻辑块, 举例来说, 其可以被构建为对象、 过程或函数。 尽 管如此, 所标识模块的可执行代码无需物理地位于一起, 而是可以包括存 储在不同物理上的不同的指令, 当这些指令逻辑上结合在一起时, 其构成 模块并且实现该模块的规定目的。 实际上, 可执行代码模块可以是单条指令或者是许多条指令, 并且甚 至可以分布在多个不同的代码段上, 分布在不同程序当中, 以及跨越多个 存储器设备分布。 同样地, 操作数据可以在模块内被识别, 并且可以依照 任何适当的形式实现并且被组织在任何适当类型的数据结构内。 所述操作 数据可以作为单个数据集被收集, 或者可以分布在不同位置上(包括在不 同存储设备上), 并且至少部分地可以仅作为电子信号存在于系统或网络侧 上。 In an embodiment of the invention, the modules may be implemented in software for execution by various types of processors. For example, an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different physicalities. When these instructions are logically combined, they form a module and implement the specified purpose of the module. . In fact, the executable code module can be a single instruction or a number of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices. Likewise, operational data may be identified within the module and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on the system or network side.
在模块可以利用软件实现时, 考虑到现有硬件工艺的水平, 所以可以 以软件实现的模块, 在不考虑成本的情况下, 本领域技术人员都可以搭建 对应的硬件电路来实现对应的功能, 所述硬件电路包括常规的超大规模集 成(VLSI ) 电路或者门阵列以及诸如逻辑芯片、 晶体管之类的现有半导体 或者是其它分立的元件。 模块还可以用可编程硬件设备, 诸如现场可编程 门阵列、 可编程阵列逻辑、 可编程逻辑设备等实现。  When the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software. Without considering the cost, a person skilled in the art can construct a corresponding hardware circuit to implement the corresponding function. The hardware circuitry includes conventional Very Large Scale Integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components. Modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
在本发明各方法实施例中, 所述各步驟的序号并不能用于限定各步驟 的先后顺序, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提 下, 对各步驟的先后变化也在本发明的保护范围之内。  In the method embodiments of the present invention, the sequence numbers of the steps are not used to limit the sequence of the steps. For those skilled in the art, the steps of the steps are changed without any creative work. It is also within the scope of the invention.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性  Industrial applicability
针对早期移动终端不支持单 PDP双栈功能的情况,通过将 PDP激活请 求消息中的原始 PDP 类型替换为 IPv4v6 , 使移动终端能够正常地发送 IPv4v6的 PDP激活请求消息到网络侧,并能从网络侧返回的 PDP激活响应 消息中解析对应的 IPv4和 IPv6地址信息, 从而使移动终端在 Rel8以后的 网络侧下建立单 PDP双栈连接。  For the case where the early mobile terminal does not support the single PDP dual stack function, the mobile terminal can normally send the IPv4v6 PDP activation request message to the network side by replacing the original PDP type in the PDP activation request message with the IPv4v6, and can access the network from the network. The PDP activation response message returned by the side parses the corresponding IPv4 and IPv6 address information, so that the mobile terminal establishes a single PDP dual-stack connection under the network side after Rel8.

Claims

权利要求书 Claim
1. 一种移动终端单 PDP双栈连接的实现方法, 包括:  A method for implementing a single PDP dual stack connection of a mobile terminal, comprising:
转换步驟: 获取移动终端待发送的第一 PDP激活请求消息, 并将所述 第一 PDP激活请求消息转换为第二 PDP激活请求消息, 所述第二 PDP激 活请求消息的 PDP类型为 IPv4v6;  The conversion step: obtaining a first PDP activation request message to be sent by the mobile terminal, and converting the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6;
发送步驟: 向网络侧发送所述第二 PDP激活请求消息;  Sending step: sending the second PDP activation request message to the network side;
解析步驟: 解析网络侧返回的 PDP激活响应消息, 获取建立连接所需 的 IP地址信息和 DNS地址信息;  The parsing step is: parsing the PDP activation response message returned by the network side, and obtaining the IP address information and the DNS address information required for establishing the connection;
地址分配步驟:将所述 IP地址信息和 DNS地址信息分配给主机,以建 立所述主机与网络侧之间的连接。  The address allocation step: assigning the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
2.根据权利要求 1所述的移动终端单 PDP双栈连接的实现方法,其中, 所述转换步驟具体包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 1, wherein the converting step specifically includes:
从空口上截获移动终端待发送的第一 PDP激活请求消息, 将所述第一 PDP激活请求消息中的原始 PDP类型替换为 IPv4v6, 并将所述第一 PDP 激活请求消息的协议配置选项设置为向网络侧请求原始 PDP类型之外另一 种类型的域名系统 DNS地址信息, 得到第二 PDP激活请求消息。  The first PDP activation request message to be sent by the mobile terminal is intercepted from the air interface, the original PDP type in the first PDP activation request message is replaced with IPv4v6, and the protocol configuration option of the first PDP activation request message is set to Another type of domain name system DNS address information other than the original PDP type is requested from the network side to obtain a second PDP activation request message.
3.根据权利要求 2所述的移动终端单 PDP双栈连接的实现方法,其中, 在所述第一 PDP激活请求消息为 IPv4 PDP激活请求消息时,所述转换 步驟包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 2, wherein, when the first PDP activation request message is an IPv4 PDP activation request message, the converting step includes:
从空口上截获所述第一 PDP激活请求消息,并将所述第一 PDP激活请 求消息中的原始 PDP类型 IPv4替换为 IPv4v6, 在所述第一 PDP激活请求 消息的协议配置选项中增加 IPv6的 DNS请求信息字段, 得到第二 PDP激 活请求消息;  The first PDP activation request message is intercepted from the air interface, and the original PDP type IPv4 in the first PDP activation request message is replaced with IPv4v6, and IPv6 is added in the protocol configuration option of the first PDP activation request message. The DNS request information field obtains a second PDP activation request message;
在所述第一 PDP激活请求消息为 IPv6 PDP激活请求消息时,所述转换 步驟包括: 从空口上截获所述第一 PDP激活请求消息,并将所述第一 PDP激活请 求消息中的原始 PDP类型 IPv6替换为 IPv4v6, 在所述第一 PDP激活请求 消息的协议配置选项中增加 IPv4的 DNS请求信息字段, 得到第二 PDP激 活请求消息。 When the first PDP activation request message is an IPv6 PDP activation request message, the converting step includes: The first PDP activation request message is intercepted from the air interface, and the original PDP type IPv6 in the first PDP activation request message is replaced with IPv4v6, and IPv4 is added to the protocol configuration option of the first PDP activation request message. The DNS request information field obtains a second PDP activation request message.
4.根据权利要求 1-3中任一项所述的移动终端单 PDP双栈连接的实现 方法, 其中, 所述 IP地址信息包括有 IPv4地址, 所述 DNS地址信息包括 有 IPv4 DNS地址, 所述地址分配步驟包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to any one of claims 1 to 3, wherein the IP address information includes an IPv4 address, and the DNS address information includes an IPv4 DNS address. The address allocation steps include:
接收所述主机请求 IPv4地址的动态主机设置协议 DHCP 消息, 通过 DHCP响应消息将 IPv4地址及 IPv4 DNS地址分配给所述主机。  Receiving a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assigning an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
5.根据权利要求 1-3中任一项所述的移动终端单 PDP双栈连接的实现 方法, 其中, 所述 IP地址信息包括有 IPV6前缀地址, 所述 DNS地址信息 包括有 IPv6 DNS地址, 所述地址分配步驟包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to any one of claims 1 to 3, wherein the IP address information includes an IPV6 prefix address, and the DNS address information includes an IPv6 DNS address. The address allocation step includes:
接收所述主机的 IPV6路由请求消息, 通过 IPV6路由通告消息将所述 IPV6前缀地址和 IPv6 DNS地址分配给所述主机, 以便所述主机根据所述 IPV6前缀地址生成全局 IPV6地址。  Receiving an IPV6 route request message of the host, and assigning the IPV6 prefix address and the IPv6 DNS address to the host by using an IPV6 route advertisement message, so that the host generates a global IPV6 address according to the IPV6 prefix address.
6.根据权利要求 5所述的移动终端单 PDP双栈连接的实现方法,其中, 所述通过 IPV6路由通告消息将所述 IPV6前缀地址和 IPv6 DNS地址分配给 主机之后还包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 5, wherein the assigning the IPV6 prefix address and the IPv6 DNS address to the host by using the IPV6 route advertisement message further includes:
检测步驟: 接收所述主机的携带有全局 IPV6地址的 IPV6邻居请求消 息, 根据所述全局 IPV6地址进行地址沖突检测, 并将地址沖突检测结果通 过 IPV6邻居响应消息返回给所述主机。  The detecting step is: receiving an IPV6 neighbor request message carrying the global IPV6 address of the host, performing address conflict detection according to the global IPV6 address, and returning the address conflict detection result to the host by using an IPV6 neighbor response message.
7.根据权利要求 1所述的移动终端单 PDP双栈连接的实现方法,其中, 所述方法还包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 1, wherein the method further includes:
回退步驟: 在所述 PDP激活响应消息中还包括有 PDP激活错误码时, 按照与所述 PDP激活错误码对应的回退规则, 尝试建立移动终端的双 PDP 双栈连接或者单 PDP单栈连接。 The step of reverting: when the PDP activation response message further includes a PDP activation error code, attempting to establish a dual PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Dual stack connection or single PDP single stack connection.
8.根据权利要求 7所述的移动终端单 PDP双栈连接的实现方法,其中, 所述回退步驟包括:  The method for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 7, wherein the step of retreating comprises:
在所述 PDP激活响应消息中包括有由于 IPv6连接导致的单 PDP双栈 连接建立失败的 PDP激活错误码时, 进入 IPv4单栈启动状态, 尝试建立移 动终端的 IPv4单栈连接;  When the PDP activation response message includes a PDP activation error code that fails to establish a single PDP dual stack connection due to an IPv6 connection, the IPv4 single-stack startup state is entered, and an IPv4 single-stack connection of the mobile terminal is attempted to be established;
在所述 PDP激活响应消息中包括有 IPV4地址和单 PDP双栈连接建立 失败的 PDP激活错误码时, 进入双 PDP双栈启动状态, 发起 IPV6单栈拨 号, 尝试建立移动终端的双 PDP双栈连接;  When the PDP activation response message includes the PDP activation error code with the IPV4 address and the single PDP dual-stack connection establishment failure, enter the dual PDP dual-stack startup state, initiate IPV6 single-stack dialing, and attempt to establish a dual PDP dual stack of the mobile terminal. Connection
在所述 PDP激活响应消息中包括有 IPV6地址和和单 PDP双栈连接建 立失败的 PDP激活错误码时, 进入双 PDP双栈启动状态, 发起 IPV4单栈 拨号, 尝试建立移动终端的双 PDP双栈连接。  When the PDP activation response message includes the IPV6 address and the PDP activation error code that fails to establish a single PDP dual stack connection, enter the dual PDP dual stack startup state, initiate IPV4 single stack dialing, and attempt to establish a dual PDP duality of the mobile terminal. Stack connection.
9. 一种移动终端单 PDP双栈连接的实现装置, 包括:  9. A device for implementing a single PDP dual stack connection of a mobile terminal, comprising:
转换单元, 配置为获取移动终端待发送的第一 PDP激活请求消息, 并 将所述第一 PDP激活请求消息转换为第二 PDP激活请求消息, 所述第二 PDP激活请求消息的 PDP类型为 IPv4v6;  The converting unit is configured to acquire a first PDP activation request message to be sent by the mobile terminal, and convert the first PDP activation request message into a second PDP activation request message, where the PDP type of the second PDP activation request message is IPv4v6 ;
发送单元, 配置为向网络侧发送所述第二 PDP激活请求消息; 解析单元, 配置为解析网络侧返回的 PDP激活响应消息, 获取建立连 接所需的 IP地址信息和 DNS地址信息;  The sending unit is configured to send the second PDP activation request message to the network side, and the parsing unit is configured to parse the PDP activation response message returned by the network side, and obtain the IP address information and the DNS address information required for establishing the connection;
地址分配单元, 配置为所述 IP地址信息和 DNS地址信息分配给主机, 以建立所述主机与网络侧之间的连接。  The address allocation unit is configured to allocate the IP address information and the DNS address information to the host to establish a connection between the host and the network side.
10. 根据权利要求 9所述的移动终端单 PDP双栈连接的实现装置, 其 中, 所述转换单元还配置为从空口上截获移动终端待发送的第一 PDP激活 请求消息,将所述第一 PDP激活请求消息中的原始 PDP类型替换为 ΙΡν4ν6 , 并将所述第一 PDP激活请求消息的协议配置选项设置为向网络侧请求原始 PDP类型之外另一种类型的域名系统 DNS地址信息, 得到第二 PDP激活 请求消息。 The apparatus for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 9, wherein the converting unit is further configured to intercept, from the air interface, a first PDP activation request message to be sent by the mobile terminal, where the first The original PDP type in the PDP activation request message is replaced with ΙΡν4ν6, and the protocol configuration option of the first PDP activation request message is set to request the original from the network side. Another type of domain name system DNS address information other than the PDP type obtains a second PDP activation request message.
11. 根据权利要求 10所述的移动终端单 PDP双栈连接的实现装置, 其 中,  11. The apparatus for implementing a single PDP dual stack connection of a mobile terminal according to claim 10, wherein
在所述第一 PDP激活请求消息为 IPv4 PDP激活请求消息时,所述转换 单元配置为从空口上截获所述第一 PDP激活请求消息, 并将所述第一 PDP 激活请求消息中的原始 PDP类型 IPv4替换为 IPv4v6, 在所述第一 PDP激 活请求消息的协议配置选项中增加 IPv6的 DNS请求信息字段, 得到第二 PDP激活请求消息;  When the first PDP activation request message is an IPv4 PDP activation request message, the converting unit is configured to intercept the first PDP activation request message from an air interface, and the original PDP in the first PDP activation request message The type IPv4 is replaced by the IPv4v6, and the DNS request information field of the IPv6 is added in the protocol configuration option of the first PDP activation request message, to obtain a second PDP activation request message;
在所述第一 PDP激活请求消息为 IPv6 PDP激活请求消息时,所述转换 单元配置为从空口上截获所述第一 PDP激活请求消息, 并将所述第一 PDP 激活请求消息中的原始 PDP类型 IPv6替换为 IPv4v6, 在所述第一 PDP激 活请求消息的协议配置选项中增加 IPv4的 DNS请求信息字段, 得到第二 PDP激活请求消息。  When the first PDP activation request message is an IPv6 PDP activation request message, the converting unit is configured to intercept the first PDP activation request message from the air interface, and the original PDP in the first PDP activation request message The type IPv6 is replaced with IPv4v6, and the IPv4 DNS request information field is added in the protocol configuration option of the first PDP activation request message to obtain a second PDP activation request message.
12. 根据权利要求 9-11中任一项所述的移动终端单 PDP双栈连接的实 现装置, 其中, 所述 IP地址信息包括有 IPv4地址, 所述 DNS地址信息包 括有 HV4 DNS地址,  The device for implementing a single-PDP dual-stack connection of a mobile terminal according to any one of claims 9-11, wherein the IP address information includes an IPv4 address, and the DNS address information includes an HV4 DNS address.
所述地址分配单元还配置为接收所述主机请求 IPv4地址的动态主机设 置协议 DHCP消息, 通过 DHCP响应消息将 IPv4地址及 IPv4 DNS地址分 配给所述主机。  The address allocation unit is further configured to receive a dynamic host setup protocol DHCP message requesting the IPv4 address by the host, and assign an IPv4 address and an IPv4 DNS address to the host by using a DHCP response message.
13. 根据权利要求 9-11中任一项所述的移动终端单 PDP双栈连接的实 现装置, 其中, 所述 IP地址信息包括有 IPV6前缀地址, 所述 DNS地址信 息包括有 IPv6 DNS地址,  The apparatus for implementing a single-PDP dual-stack connection of a mobile terminal according to any one of claims 9-11, wherein the IP address information includes an IPV6 prefix address, and the DNS address information includes an IPv6 DNS address.
所述地址分配单元还配置为接收所述主机的 IPV6路由请求消息,通过 IPV6路由通告消息将所述 IPV6前缀地址和 IPv6 DNS地址分配给所述主 机, 以便所述主机根据所述 IPV6前缀地址生成全局 IPV6地址。 The address allocation unit is further configured to receive an IPV6 routing request message of the host, and allocate the IPV6 prefix address and an IPv6 DNS address to the primary by using an IPV6 route advertisement message. So that the host generates a global IPV6 address according to the IPV6 prefix address.
14. 根据权利要求 13所述的移动终端单 PDP双栈连接的实现装置,其 中, 所述装置还包括:  The device for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 13, wherein the device further comprises:
检测单元, 配置为在所述地址分配单元通过 IPV6路由通告消息将所述 IP V6前缀地址和 IPv6 DNS地址分配给主机之后, 接收所述主机的携带有 全局 IPV6地址的 IPV6邻居请求消息,根据所述全局 IPV6地址进行地址沖 突检测, 并将地址沖突检测结果通过 IPV6邻居响应消息返回给所述主机。  The detecting unit is configured to: after the IP address distribution unit sends the IP V6 prefix address and the IPv6 DNS address to the host by using the IPV6 route advertisement message, receive the IPV6 neighbor request message of the host that carries the global IPV6 address, according to the The global IPV6 address is used for address conflict detection, and the address conflict detection result is returned to the host through the IPV6 neighbor response message.
15. 根据权利要求 9所述的移动终端单 PDP双栈连接的实现装置, 其 中, 所述装置还包括:  The device for implementing a single-PDP dual-stack connection of a mobile terminal according to claim 9, wherein the device further comprises:
回退单元,配置为在所述 PDP激活响应消息中还包括有 PDP激活错误 码时, 按照与所述 PDP激活错误码对应的回退规则, 尝试建立移动终端的 双 PDP双栈连接或者单 PDP单栈连接。  a fallback unit, configured to: when the PDP activation error message is further included in the PDP activation response message, attempt to establish a dual PDP dual stack connection or a single PDP of the mobile terminal according to a fallback rule corresponding to the PDP activation error code Single stack connection.
16. 一种移动终端, 包括如权利要求 9-15中任一项所述的移动终端单 PDP双栈连接的实现装置。  A mobile terminal comprising the mobile terminal single PDP dual stack connection implementation apparatus according to any one of claims 9-15.
17. 一种存储介质,存储有能执行如权利要求 1-8中任一项所述的移动 终端单 PDP双栈连接的实现方法的程序。  A storage medium storing a program capable of executing the mobile terminal single PDP dual stack connection according to any one of claims 1-8.
PCT/CN2013/088495 2013-07-22 2013-12-04 Mobile terminal and method and apparatus for implementing single pdp dual stack connection for same WO2014161342A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310309230.1A CN104333608B (en) 2013-07-22 2013-07-22 Mobile terminal and its implementation method of the bis- stack connections of list PDP, device
CN201310309230.1 2013-07-22

Publications (1)

Publication Number Publication Date
WO2014161342A1 true WO2014161342A1 (en) 2014-10-09

Family

ID=51657529

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088495 WO2014161342A1 (en) 2013-07-22 2013-12-04 Mobile terminal and method and apparatus for implementing single pdp dual stack connection for same

Country Status (2)

Country Link
CN (1) CN104333608B (en)
WO (1) WO2014161342A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110038372A1 (en) * 2009-08-12 2011-02-17 Research In Motion Limited Accommodating Hybrid IPv4v6 Network Support
CN101997934A (en) * 2009-08-21 2011-03-30 中国移动通信集团公司 Method and system for accessing addresses, mobile terminal and application method thereof
CN102685118A (en) * 2012-05-02 2012-09-19 中兴通讯股份有限公司 Method and system for single-PDP (packet data protocol) and dual-stack serial dialing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674336B (en) * 2008-09-08 2012-12-05 电信科学技术研究院 Method for allocating IP addresses and communication system
WO2013059965A1 (en) * 2011-10-28 2013-05-02 Telefonaktiebolaget L M Ericsson (Publ) Ipv6 transition tool handling
CN102685854B (en) * 2012-04-25 2016-02-10 中兴通讯股份有限公司 Dial-up connection control method, wireless terminal and dial-up connection control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110038372A1 (en) * 2009-08-12 2011-02-17 Research In Motion Limited Accommodating Hybrid IPv4v6 Network Support
CN101997934A (en) * 2009-08-21 2011-03-30 中国移动通信集团公司 Method and system for accessing addresses, mobile terminal and application method thereof
CN102685118A (en) * 2012-05-02 2012-09-19 中兴通讯股份有限公司 Method and system for single-PDP (packet data protocol) and dual-stack serial dialing

Also Published As

Publication number Publication date
CN104333608A (en) 2015-02-04
CN104333608B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
US10122679B2 (en) Method, relay agent, and system for acquiring internet protocol address in network
US9729501B2 (en) System and data card for stateless automatic configuration of IPv6 address and method for implementing the same
EP2947907B1 (en) Startup configuration method in base station, base station and server
US9712383B2 (en) Device abstraction in autonomous wireless local area networks
KR102392120B1 (en) Processing method, device and system for nf component abnormality
CN111385374B (en) Method for network allocation, network device and computer-readable storage medium
WO2012163007A1 (en) Method for solving internet protocol address allocation conflict and related device and system thereof
CN102984295B (en) A kind of mobile terminal and address distribution method thereof
CN106713039B (en) Ethernet port identification method and device and router
WO2014047919A1 (en) Address allocation method, device and system
CN103001868A (en) Method and device used for synchronous ARP (Address Resolution Protocol) list item of virtual router redundancy protocol backup set
WO2012174914A1 (en) Method and device for controlling address configuration manner
EP2658206A1 (en) Ip address configuration method, device and system
WO2013178164A1 (en) Ipv6 domain name server (dns) address allocation and obtaining method and device
US10050932B2 (en) Method, user node and remote access server for releasing address
US20230246994A1 (en) Address management method, apparatus, and system
US20130086259A1 (en) Method for acquiring an ip address and network access device
WO2024000975A1 (en) Session establishment system and method, electronic device, and storage medium
JP2014175748A (en) Network device and control method therefor
CN102299860B (en) Acquisition method and equipment for path maximum transmission unit (Pathmtu)
WO2017071367A1 (en) Packet data gateway dual-stack address selection method and apparatus
WO2014161342A1 (en) Mobile terminal and method and apparatus for implementing single pdp dual stack connection for same
EP2485450A1 (en) Method and system for realizing information interaction in next generation network
WO2014048248A1 (en) Method and apparatus for controlling mac address
WO2012155424A1 (en) Method and system for multiple address-prefixes assignment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13881137

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13881137

Country of ref document: EP

Kind code of ref document: A1