CN102088494A - Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network - Google Patents

Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network Download PDF

Info

Publication number
CN102088494A
CN102088494A CN200910242131XA CN200910242131A CN102088494A CN 102088494 A CN102088494 A CN 102088494A CN 200910242131X A CN200910242131X A CN 200910242131XA CN 200910242131 A CN200910242131 A CN 200910242131A CN 102088494 A CN102088494 A CN 102088494A
Authority
CN
China
Prior art keywords
network
connection
terminal
ipv4
ipv6
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910242131XA
Other languages
Chinese (zh)
Inventor
琚凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910242131XA priority Critical patent/CN102088494A/en
Priority to PCT/CN2010/073657 priority patent/WO2010148946A1/en
Publication of CN102088494A publication Critical patent/CN102088494A/en
Pending legal-status Critical Current

Links

Images

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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/686Types of network addresses using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and system for connecting an internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with a network. The method comprises the following steps: configuring a network priority connection strategy, and selecting an initial priority connection network in accordance with the network priority connection strategy; and according to existing network demands, automatically resetting the network to connect to the IPv4/IPv6 network. The invention also discloses a system for connecting an IPv4/IPv6 dual-stack terminal with a network. The system comprises a network connection selection unit and a network connection reset unit, wherein the network connection selection unit is used for selecting the initial priority connection network in accordance with the configured network priority connection strategy; and the network connection reset unit is used for automatically resetting the network to connect to the IPv4/IPv6 network in accordance with the existing network demands. The method and system provided by the invention are used, thus the same terminal supporting the IPv4 and the IPv6 can be automatically connected to the IPv4/IPv6 network.

Description

Method and system for connecting IPv4/IPv6 dual-stack terminal with network
Technical Field
The invention relates to the field of communication, in particular to a method and a system for connecting a network by an Internet Protocol Version 4(IPv4, Internet Protocol Version 4)/Internet Protocol Version 6(IPv6, Internet Protocol Version 6) double-stack terminal.
Background
The internet, which is currently widely used worldwide, is based on the IPv4 protocol, and IP addresses are expressed in 32 bytes, theoretically about 40 hundred million, and practically only half of the addresses are available due to various limitations. In addition, in consideration of the fact that the demand for IP addresses will increase significantly in the coming years due to the development of 3G terminals, Internet Protocol (IP) phones, home networks, and the like, professional organizations predict that, in the first half of 2011, global IPv4 addresses will be allocated.
The Internet Engineering group (IESG, Internet Engineering SteeringGroup) 11/7 th 1994 is formally studied by using IPv6 as a standard. The IPv6 address adopts the 128-bit address length, and can provide addresses almost without limitation, and besides the defect of limited number of IPv4 addresses, the IPv6 protocol has the following advantages compared with the IPv4 protocol: the automatic equipment configuration capability provided by the IPv6 protocol can automatically identify new equipment of an access network and can carry out automatic configuration, which is very necessary for users with mobile and wireless access; many new security functions are supported in the IPv6 protocol family, such as: system-to-system authentication operations, encryption-based data transfer, and the like; the definition of the packet priority in the IPv6 protocol can better support real-time application programs; the multicast communication mechanism in the IPv6 protocol can provide a point-to-multipoint communication process under the premise of fully utilizing network resources.
As can be seen from the above trend, IPv6 is the developing direction of networks. In order to ensure that the terminal user can use the IPv4/IPv6 network simultaneously, the terminal needs to support the network which is connected and used with the IPv4 and the IPv6 at any time according to the needs of the user.
The 3GPP also finds this problem, and proposes a scheme in the version R8 in which an IPv4 address and an IPv6 address can be respectively obtained by activating a Packet Data Protocol (PDP) once. While the networks and terminals prior to the current version of R8 only support simultaneous connection to one network, namely: when the IPv4 network is connected, the IPv6 network cannot be connected unless the IPv4 network is disconnected first; and vice versa. Moreover, whether the IPv4 reset network is connected to the IPv6 or the IPv6 reset network is connected to the IPv4, the end user needs to manually perform corresponding connection operation, and for most of the ordinary mobile phone end users, the technical problem of IPv4/IPv6 network connection may not be known, so it is impractical to require the ordinary user to manually determine whether to establish IPv4/IPv6 connection and manually connect to the IPv4/IPv6 to be established. At present, no effective solution exists for the unrealistic problem of manual connection of IPv4/IPv 6.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a method and a system for connecting IPv4/IPv6 dual-stack terminals to a network, so that the same terminal supporting IPv4 and IPv6 can automatically connect to an IPv4/IPv6 network.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for connecting a network by an IPv4/IPv6 dual-stack terminal comprises the following steps:
setting a network priority connection strategy, and selecting a network with primary priority connection by the terminal according to the network priority connection strategy;
the terminal automatically resets network connection to an internet protocol version 4(IPv 4)/internet protocol version 6(IPv6) network according to current network needs.
The network priority connection strategy specifically comprises priority connection parameters; the selecting a network to which the initial priority connection is connected specifically includes:
when the value of the priority connection parameter is set to be 0, the terminal preferentially selects to connect the IPv4 network;
or, when the value of the priority connection parameter is set to 1, the terminal preferentially connects to the IPv6 network.
Wherein, the method also comprises: downloading and updating the set priority connection parameters through an air interface;
wherein, the downloading and updating specifically comprises: when the downloaded priority connection parameter is the same as the value of the priority connection parameter set in the terminal, the currently set priority connection parameter is not updated; or, when the downloaded priority connection parameter is different from the value of the priority connection parameter set in the terminal, updating the currently set priority connection parameter, and assigning the value of the currently set priority connection parameter as: a value of the downloaded priority connection parameter.
When the IPv4 network is preferentially selected for connection, the automatically resetting network connection according to the current network requirement specifically includes:
when the type of the opposite terminal address is an IPv6 network address, the service used by the terminal returns a message that the opposite terminal address is unreachable to the terminal; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv4 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv4 connection, the terminal automatically initiates an IPv6 connection PDP activation request and establishes IPv6 connection;
or, when the IPv6 network is preferentially selected for connection, the automatically resetting the network connection according to the current network requirement specifically includes:
when the type of the opposite terminal address is an IPv4 network address, the service used by the terminal returns a message that the opposite terminal address is unreachable to the terminal; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv6 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv6 connection, the terminal automatically initiates an IPv4 connection PDP activation request and establishes IPv4 connection.
Wherein, after respectively selecting to establish the IPv4/IPv6 connection, the method further includes, in the case that the terminal still receives the message that the opposite terminal address is unreachable: and the terminal prompts the user that the service is unavailable and simultaneously initiates an IPv4/IPv6 connection PDP deactivation message.
An IPv4/IPv6 dual-stack terminal-connected network system, the system comprising: a connection policy setting unit, a network connection selection unit, and a network connection resetting unit; wherein,
a connection policy setting unit for setting a network priority connection policy;
the network connection selection unit is used for selecting a network with initial preferential connection according to the set network preferential connection strategy;
and the network connection resetting unit is used for automatically resetting the network connection to the IPv4/IPv6 network according to the current network requirement.
The network priority connection strategy specifically comprises priority connection parameters;
the network connection selection unit is further used for preferentially selecting the IPv4 network for the terminal when the value of the preferential connection parameter is set to be 0; or, when the value of the priority connection parameter is set to 1, the terminal preferentially connects to the IPv6 network.
Wherein, this system still includes: a downloading and updating unit, configured to download and update the set priority connection parameter through an air interface;
wherein, the downloading and updating specifically comprises: when the downloaded priority connection parameter is the same as the value of the priority connection parameter set in the terminal, the currently set priority connection parameter is not updated; or, when the downloaded priority connection parameter is different from the value of the priority connection parameter set in the terminal, updating the currently set priority connection parameter, and assigning the value of the currently set priority connection parameter as: a value of the downloaded priority connection parameter.
The network connection resetting unit is further used for preferentially selecting the service used by the terminal under the condition of connecting the IPv4 network, and returning the message that the opposite terminal address is unreachable to the terminal when the opposite terminal address type is the IPv6 network address; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv4 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv4 connection, the terminal automatically initiates an IPv6 connection PDP activation request and establishes IPv6 connection;
or, under the condition of preferentially selecting the IPv6 network connection, the service used by the terminal returns the message that the opposite terminal address is unreachable to the terminal when the opposite terminal address type is the IPv4 network address; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv6 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv6 connection, the terminal automatically initiates an IPv4 connection PDP activation request and establishes IPv4 connection.
Wherein, this system still includes: and the deactivation unit is used for prompting the user that the service is unavailable and simultaneously initiating an IPv4/IPv6 connection PDP deactivation message under the condition that the terminal still receives the message that the opposite terminal address is unreachable after respectively selecting and establishing IPv4/IPv6 connection.
According to the invention, a network priority connection strategy is set, and a network with first priority connection is selected according to the network priority connection strategy; the auto-reset network is connected to the IPv4/IPv6 network according to current network needs.
By adopting the invention, firstly, the network with the first priority connection is selected according to the network priority connection strategy; then automatically resetting the network to connect to the IPv4/IPv6 network according to the current network needs, thereby enabling the same terminal supporting IPv4 and IPv6 to intelligently and automatically connect to the IPv4/IPv6 network as required.
Drawings
FIG. 1 is a schematic flow chart of the implementation of the method of the present invention;
FIG. 2 is a flow chart illustrating an implementation of a first embodiment of the present invention;
fig. 3 is a schematic flow chart of an implementation of the second embodiment of the present invention.
Detailed Description
The basic idea of the invention is: setting a network priority connection strategy, and selecting a network with first priority connection according to the network priority connection strategy; the auto-reset network is connected to the IPv4/IPv6 network according to current network needs.
The following describes the embodiments in further detail with reference to the accompanying drawings.
As shown in fig. 1, a method for connecting a network by an IPv4/IPv6 dual-stack terminal includes the following steps:
step 101, setting a network priority connection strategy.
Here, the network priority connection policy may be provided by the terminal. Further, the network priority connection policy provided on the terminal may provide the user to set the priority connection parameter. The preferred connection parameter is specifically included in the network preferred connection policy. Further, the network priority connection policy provided on the terminal may also determine to preferentially select the IP connection type according to the current access network type of the terminal. Here, it should be noted that: no matter what kind of network priority connection strategy is adopted, the terminal will be finally embodied as a priority connection parameter, and the terminal determines to be specifically connected to the IPv4/IPv6 network according to the value of the priority connection parameter.
And 102, selecting a network with initial preferential connection according to the network preferential connection strategy.
Here, the specific processing procedure of step 102 includes: when the value of the priority connection parameter is set to be 0, the terminal preferentially selects to connect the IPv4 network when connecting the network; alternatively, when the value of the priority connection parameter is set to 1, the terminal preferentially connects to the IPv6 network when connecting to the network.
And 103, automatically resetting the network to be connected to the IPv4/IPv6 network according to the current network requirement.
Here, in the above technical solution constituted by step 101 to step 102, after the setting of the priority connection parameter in step 101, the method further includes: and downloading and updating the set priority connection parameters through an air interface.
Wherein, the downloading and updating specifically comprises: when the downloaded priority connection parameter is the same as the value of the priority connection parameter set in the terminal, the currently set priority connection parameter is not updated; or, when the downloaded priority connection parameter is different from the value of the priority connection parameter set in the terminal, updating the currently set priority connection parameter, and assigning the value of the currently set priority connection parameter in the terminal to: a value of the downloaded priority connection parameter.
Since the initial network preference is different, the subsequent automatic network connection reset and service usage procedures are different, and therefore, they are described below.
In the first case: when the value of the priority connection parameter is set to 0, the case of connecting the IPv4 network is first selected with priority.
At this time, in step 102, automatically resetting the network connection according to the current network requirement specifically includes:
when the type of the opposite terminal address is an IPv6 network address, the service used by the terminal returns a message that the opposite terminal address is unreachable to the terminal; after receiving the message that the address of the opposite terminal is unreachable, the terminal automatically initiates an IPv4 connection PDP deactivation request; after the network successfully responds to the IPv4 connection PDP deactivation request and disconnects the IPv4 connection, the terminal automatically initiates an IPv6 connection PDP activation request and establishes an IPv6 connection.
Here, in a case that after the IPv4 and the IPv6 are respectively selected to be established in the first place and then, the terminal still receives a message that the peer address is not reachable, the method further includes: the terminal prompts the user that the service is unavailable, and simultaneously initiates an IPv6 connection PDP deactivation message to finish the flow of automatically resetting the network connection.
In the second case: when the value of the priority connection parameter is set to 1, the case of connecting the IPv6 network is first selected with priority.
At this time, in step 102, automatically resetting the network connection according to the current network requirement specifically includes:
when the type of the opposite terminal address is an IPv4 network address, the service used by the terminal returns a message that the opposite terminal address is unreachable to the terminal; after receiving the message that the address of the opposite terminal is unreachable, the terminal automatically initiates an IPv6 connection PDP deactivation request; after the network successfully responds to the IPv6 connection PDP deactivation request and disconnects the IPv6 connection, the terminal automatically initiates an IPv4 connection PDP activation request and establishes an IPv4 connection.
Here, in a case that after the IPv6 and the IPv4 are respectively selected to be established in the first place and then, the terminal still receives a message that the peer address is not reachable, the method further includes: the terminal prompts the user that the service is unavailable, and simultaneously initiates an IPv4 connection PDP deactivation message to finish the flow of automatically resetting the network connection.
In conclusion, the invention is a scheme that the terminal is intelligently connected to the IPv4/IPv6 network according to the requirement. The invention is different from the prior art that the terminal needs to be manually connected to the IPv4/IPv6 network, so that the same terminal supporting IPv4 and IPv6 can be intelligently and automatically connected to the IPv4/IPv6 network according to requirements. And, after connecting to the IPv4/IPv6 network, the same terminal supporting IPv4 and IPv6 can also use the IPv4/IPv6 network at the same time.
The invention mainly comprises the following contents:
a network priority connection strategy is preset on the terminal, the strategy specifically comprises a priority connection parameter, and when the value of the priority connection parameter is set to be 0, the terminal is connected with the IPv4 network preferentially when being connected with the network; when the value of the priority connection parameter is set to 1, the terminal will preferentially connect to the IPv6 network when connecting to the network. The priority connection parameter can be preset when leaving a factory according to the needs of an operator; but also can be downloaded through the air interface so as to update the corresponding priority connection parameter value.
When the IPv4 network is preferentially connected, namely: the value of the priority connection parameter is 0. The terminal initiates any PDP activation request for data connection, requests IPv4 network address from Gateway GPRS Support Node (GGSN), and establishes IPv4 network connection. When the service used by the terminal and the opposite terminal address type is the IPv4 network address, the terminal connection, namely the service use is the same as the current terminal processing; when the service used by the terminal and the opposite terminal address type is the IPv6 network address, the terminal will return the error that the opposite terminal address is not reachable, after receiving the return message, the terminal automatically initiates an IPv4 connection PDP deactivation request, after the network successfully responds to disconnect the IPv4 connection, automatically initiates an IPv6 connection PDP activation request, establishes an IPv6 data connection, and tries to use the current service again. If the opposite end address of the service can be reached, the service is normally used, if the opposite end address can still be returned to be unreachable, the user is prompted to have failed service access, and meanwhile, an IPv6 connection PDP deactivation message is initiated.
When the IPv6 network is preferentially connected, namely: the value of the priority connection parameter is 1. The terminal initiates any PDP activation request of data connection, requests IPv6 network address from GGSN, and establishes IPv6 network connection. When the service used by the terminal and the opposite terminal address type is the IPv6 network address, the terminal connection, namely the service use is the same as the current terminal processing; when the service used by the terminal and the opposite terminal address type is the IPv4 network address, the terminal will return the error that the opposite terminal address is not reachable, after receiving the return message, the terminal automatically initiates an IPv6 connection PDP deactivation request, after the network successfully responds to disconnect the IPv6 connection, automatically initiates an IPv4 connection PDP activation request, establishes an IPv4 data connection, and tries to use the current service again. If the opposite end address of the service can be reached, the service is normally used, if the opposite end address can still be returned to be unreachable, the user is prompted to have failed service access, and meanwhile, an IPv4 connection PDP deactivation message is initiated.
The priority connection parameter may be preset when the terminal leaves the factory, or downloaded through an air interface after each startup, and the terminal only retains the value of the priority connection parameter updated last time. An operator can set the value of the priority connection parameter to 0 if the overall IPv4 service is still in a majority position according to the current overall network condition, so that the terminal can be ensured to preferentially establish IPv4 connection to improve the connection efficiency; if the IPv6 service is in a majority position in the future, downloading and updating the priority connection parameter through the air interface, setting the value of the priority connection parameter to be 1, and ensuring that the terminal can preferentially establish the IPv6 connection so as to improve the connection efficiency.
The terminal provided by the invention can intelligently and automatically connect to the IPv4/IPv6 network according to the requirement, so that the terminal can automatically try another network connection without manual operation of the terminal user under the condition that the opposite-end network address is unreachable. And the connection efficiency is improved through the priority connection parameter in the network priority connection strategy, most meaningless PDP activation requests are reduced, and meanwhile, the value of the priority connection parameter can be updated at any time through downloading of an empty port, so that the terminal can be ensured to adapt to the current network requirement at any time.
The invention is illustrated below.
Table 1 below is a definition table of the priority connection parameters, and table 1 includes definitions of the priority connection parameters, parameter values, and corresponding parameter descriptions. Here, PDP _ ACT _ priority is defined as a priority connection parameter, and may be assigned a value of 0 or 1. Correspondingly, when the priority connection parameter is assigned to be 0, the terminal preferentially initiates a network connection request of the IPv4 when needing to access the network; when the priority connection parameter is assigned to be 1, the terminal will preferentially initiate a network connection request of the IPv6 when needing to access the network. The priority connection parameter list is stored in the terminal, and corresponding assignment can be carried out through preset or air interface downloading and updating.
Priority connection parameter names Priority connection parameter value Description of preferred connections
PDP_ACT_priority 0/1 Priority IPv4 connection/priority IPv6 connection
TABLE 1
Example one: as shown in fig. 2, the present embodiment is a process of downloading and updating a priority connection parameter through an Over The Air (OTA) after a terminal is powered on, and the process includes the following steps:
step 201, the terminal is powered on and accesses the current network.
Step 202, the terminal initiates an OTA download request.
Here, it should be noted that: at present, there are 3 methods for OTA downloading, which are downloading via Wireless Application Protocol (WAP), hypertext transfer protocol (HTTP) and short message, and since OTA downloading is a mature technology, it is not described in detail here.
And step 203, the download server responds to the OTA download request of the terminal.
And step 204, the terminal downloads and updates the prior connection parameters preset in the terminal.
Here, the downloading and updating specifically includes: if the downloaded priority connection parameter is the same as the value of the priority connection parameter preset in the terminal, the current priority connection parameter is not updated; and if the downloaded priority connection parameter is different from the value of the priority connection parameter preset in the terminal, updating the current priority connection parameter, and assigning the value of the priority connection parameter in the terminal as the value of the downloaded priority connection parameter.
And step 205, ending the OTA downloading process.
Example two: as shown in fig. 3, this example is a flow of IPv4/IPv6 dual-stack terminal intelligently connecting to a network and using a service, where the flow includes the following steps:
step 301, the terminal starts to use the data network.
Step 302, the terminal inquires whether the value of the current priority connection parameter is 0 or 1, and if the value of the current priority connection parameter is 0, the step 303 is skipped; if the value of the current priority connection parameter is 1, step 309 is skipped.
Step 303, the terminal initiates an IPv4 connection PDP activation request, and after obtaining a network success response, establishes an IPv4 connection, and registers in the IPv4 network.
And step 304, after the terminal is successfully registered in the IPv4 network, the terminal normally uses the current service if the service used by the current terminal and the opposite terminal address can be reached, and the process is ended. If the opposite terminal address is not reachable, step 305 is skipped.
And 305, if the service opposite terminal address used by the current terminal is not reachable, the terminal initiates an IPv4 network connection PDP deactivation request, and after a network successful response is obtained, the terminal deactivates in an IPv4 network and disconnects the IPv4 connection.
Step 306, the terminal automatically initiates an IPv6 connection PDP activation request, establishes IPv6 connection after obtaining a network success response, and registers the IPv6 connection in the IPv6 network.
Step 307, after the terminal successfully registers in the IPv6 network, the terminal normally uses the current service if the service used by the current terminal and the address of the opposite terminal are reachable, and the process is ended. If the peer address is still not reachable, step 308 is skipped.
Step 308, the terminal initiates an IPv6 network connection PDP deactivation request, and after the network successful response is obtained, the terminal deactivates in the IPv6 network and disconnects the IPv6 connection; and the terminal prompts the user that the service is unavailable and the process is finished under the condition that the terminal successively tries the activation of the IPv4 connection and the IPv6 connection and both obtain the response that the address of the opposite terminal is not reachable.
Step 309, the terminal initiates an IPv6 connection PDP activation request, and after obtaining a network success response, establishes an IPv6 connection, and registers in the IPv6 network.
And step 310, after the terminal is successfully registered in the IPv6 network, the terminal normally uses the current service if the service used by the current terminal and the address of the opposite terminal are reachable, and the process is ended. If the opposite terminal address is not reachable, step 311 is skipped.
And 311, if the service opposite terminal address used by the current terminal is not reachable, the terminal initiates an IPv6 network connection PDP deactivation request, and after a network success response is obtained, the terminal deactivates in the IPv6 network and disconnects the IPv6 connection.
Step 312, the terminal automatically initiates an IPv4 connection PDP activation request, and after obtaining a network success response, establishes an IPv4 connection, and registers in the IPv4 network.
Step 313, after the terminal successfully registers in the IPv4 network, the terminal normally uses the current service if the service used by the current terminal and the opposite-end address are reachable, and the process ends. If the peer address is still not reachable, step 314 is skipped.
Step 314, the terminal initiates an IPv4 network connection PDP deactivation request, and after the network successful response is obtained, the terminal deactivates in the IPv4 network and disconnects the IPv4 connection; and the terminal prompts the user that the service is unavailable and the process is finished under the condition that the terminal successively tries the activation of the IPv6 connection and the IPv4 connection and both obtain the response that the address of the opposite terminal is not reachable.
An IPv4/IPv6 dual-stack terminal-connected network system, the system comprising: a connection policy setting unit, a network connection selection unit, and a network connection resetting unit. The connection policy setting unit is used for setting a network priority connection policy. The network connection selection unit is used for selecting the network connected with the first priority according to the set network priority connection strategy. The network connection resetting unit is used for automatically resetting the network connection to the IPv4/IPv6 network according to the current network requirement.
Here, the network priority connection policy specifically includes a priority connection parameter.
Here, one specific implementation of the network connection selection unit is: the network connection selection unit is further used for the terminal to preferentially select to connect to the IPv4 network when the value of the preferential connection parameter is set to 0.
Another specific implementation of the network connection selection unit is as follows: the network connection selecting unit is further configured to preferentially connect the terminal to the IPv6 network when the value of the priority connection parameter is set to 1.
Here, the system further includes: and the downloading and updating unit is used for downloading and updating the set priority connection parameters through an air interface.
Wherein, the downloading and updating specifically comprises: when the downloaded priority connection parameter is the same as the value of the priority connection parameter set in the terminal, the currently set priority connection parameter is not updated; or, when the downloaded priority connection parameter is different from the value of the priority connection parameter set in the terminal, updating the currently set priority connection parameter, and assigning the value of the currently set priority connection parameter as: a value of the downloaded priority connection parameter.
Here, one specific implementation of the network connection resetting unit is: the network connection resetting unit is further used for returning a message that the opposite end address is unreachable to the terminal when the opposite end address type is the IPv6 network address of a service used by the terminal under the condition of preferentially selecting the IPv4 network; after receiving the message that the address of the opposite terminal is unreachable, the terminal automatically initiates an IPv4 connection PDP deactivation request; after the network successfully responds to the IPv4 connection PDP deactivation request and disconnects the IPv4 connection, the terminal automatically initiates an IPv6 connection PDP activation request and establishes an IPv6 connection.
Another specific implementation of the network connection resetting unit is as follows: the network connection resetting unit is further used for returning a message that the opposite end address is unreachable to the terminal when the opposite end address type is the IPv4 network address of a service used by the terminal under the condition of preferentially selecting the IPv6 network; after receiving the message that the address of the opposite terminal is unreachable, the terminal automatically initiates an IPv6 connection PDP deactivation request; after the network successfully responds to the IPv6 connection PDP deactivation request and disconnects the IPv6 connection, the terminal automatically initiates an IPv4 connection PDP activation request and establishes an IPv4 connection.
Here, the system further includes: and the deactivation unit is used for prompting the user that the service is unavailable and simultaneously initiating an IPv4/IPv6 connection PDP deactivation message under the condition that the terminal still receives the message that the opposite terminal address is unreachable after respectively selecting and establishing the IPv4/IPv6 connection.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A method for connecting a network by an IPv4/IPv6 dual-stack terminal is characterized by comprising the following steps:
setting a network priority connection strategy, and selecting a network with primary priority connection by the terminal according to the network priority connection strategy;
the terminal automatically resets network connection to an internet protocol version 4(IPv 4)/internet protocol version 6(IPv6) network according to current network needs.
2. The method according to claim 1, wherein the network priority connection policy specifically comprises a priority connection parameter; the selecting a network to which the initial priority connection is connected specifically includes:
when the value of the priority connection parameter is set to be 0, the terminal preferentially selects to connect the IPv4 network;
or, when the value of the priority connection parameter is set to 1, the terminal preferentially connects to the IPv6 network.
3. The method according to claim 1 or 2, characterized in that the method further comprises: downloading and updating the set priority connection parameters through an air interface;
wherein, the downloading and updating specifically comprises: when the downloaded priority connection parameter is the same as the value of the priority connection parameter set in the terminal, the currently set priority connection parameter is not updated; or, when the downloaded priority connection parameter is different from the value of the priority connection parameter set in the terminal, updating the currently set priority connection parameter, and assigning the value of the currently set priority connection parameter as: a value of the downloaded priority connection parameter.
4. The method according to claim 1 or 2, wherein when the IPv4 network is preferentially selected for connection, the automatically resetting the network connection according to the current network requirement specifically includes:
when the type of the opposite terminal address is an IPv6 network address, the service used by the terminal returns a message that the opposite terminal address is unreachable to the terminal; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv4 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv4 connection, the terminal automatically initiates an IPv6 connection PDP activation request and establishes IPv6 connection;
or, when the IPv6 network is preferentially selected for connection, the automatically resetting the network connection according to the current network requirement specifically includes:
when the type of the opposite terminal address is an IPv4 network address, the service used by the terminal returns a message that the opposite terminal address is unreachable to the terminal; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv6 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv6 connection, the terminal automatically initiates an IPv4 connection PDP activation request and establishes IPv4 connection.
5. The method according to claim 4, wherein in case that the terminal still receives the message that the correspondent address is unreachable after respectively selecting to establish the IPv4/IPv6 connection, the method further comprises: and the terminal prompts the user that the service is unavailable and simultaneously initiates an IPv4/IPv6 connection PDP deactivation message.
6. An IPv4/IPv6 dual-stack terminal-connected network system, comprising: a connection policy setting unit, a network connection selection unit, and a network connection resetting unit; wherein,
a connection policy setting unit for setting a network priority connection policy;
the network connection selection unit is used for selecting a network with initial preferential connection according to the set network preferential connection strategy;
and the network connection resetting unit is used for automatically resetting the network connection to the IPv4/IPv6 network according to the current network requirement.
7. The system according to claim 6, wherein the network priority connection policy specifically comprises a priority connection parameter;
the network connection selection unit is further used for preferentially selecting the IPv4 network for the terminal when the value of the preferential connection parameter is set to be 0; or, when the value of the priority connection parameter is set to 1, the terminal preferentially connects to the IPv6 network.
8. The system according to claim 6 or 7, characterized in that the system further comprises: a downloading and updating unit, configured to download and update the set priority connection parameter through an air interface;
wherein, the downloading and updating specifically comprises: when the downloaded priority connection parameter is the same as the value of the priority connection parameter set in the terminal, the currently set priority connection parameter is not updated; or, when the downloaded priority connection parameter is different from the value of the priority connection parameter set in the terminal, updating the currently set priority connection parameter, and assigning the value of the currently set priority connection parameter as: a value of the downloaded priority connection parameter.
9. The system according to claim 6 or 7, wherein the network connection resetting unit is further configured to preferentially select a service used by the terminal when the terminal is connected to the IPv4 network, and return a message indicating that the peer address is unreachable to the terminal when the peer address is an IPv6 network address; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv4 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv4 connection, the terminal automatically initiates an IPv6 connection PDP activation request and establishes IPv6 connection;
or, under the condition of preferentially selecting the IPv6 network connection, the service used by the terminal returns the message that the opposite terminal address is unreachable to the terminal when the opposite terminal address type is the IPv4 network address; after receiving the message that the opposite terminal address is unreachable, the terminal automatically initiates an IPv6 connection PDP deactivation request; after the network successfully responds to the deactivation request and disconnects the IPv6 connection, the terminal automatically initiates an IPv4 connection PDP activation request and establishes IPv4 connection.
10. The system of claim 9, further comprising: and the deactivation unit is used for prompting the user that the service is unavailable and simultaneously initiating an IPv4/IPv6 connection PDP deactivation message under the condition that the terminal still receives the message that the opposite terminal address is unreachable after respectively selecting and establishing IPv4/IPv6 connection.
CN200910242131XA 2009-12-08 2009-12-08 Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network Pending CN102088494A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910242131XA CN102088494A (en) 2009-12-08 2009-12-08 Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network
PCT/CN2010/073657 WO2010148946A1 (en) 2009-12-08 2010-06-08 Method and system for ipv4/ipv6 dual stack terminals to connect to networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910242131XA CN102088494A (en) 2009-12-08 2009-12-08 Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network

Publications (1)

Publication Number Publication Date
CN102088494A true CN102088494A (en) 2011-06-08

Family

ID=43385988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910242131XA Pending CN102088494A (en) 2009-12-08 2009-12-08 Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network

Country Status (2)

Country Link
CN (1) CN102088494A (en)
WO (1) WO2010148946A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160587A1 (en) * 2010-06-25 2011-12-29 中兴通讯股份有限公司 Method and system for connecting a dual-stack terminal to networks
CN102421201A (en) * 2011-11-22 2012-04-18 中兴通讯股份有限公司 Method for rapidly establishing dual-stack wireless connection and wireless terminal equipment
WO2013113237A1 (en) * 2012-02-01 2013-08-08 华为技术有限公司 Method for determining multicast path, method for receiving data message, and router
CN103260088A (en) * 2012-12-14 2013-08-21 四川九洲电器集团有限责任公司 Method allowing set top box to support IPV4 network and IPV6 network simultaneously
WO2014067420A1 (en) * 2012-11-05 2014-05-08 中兴通讯股份有限公司 Packet data network type management method, device, and system
CN104519148A (en) * 2013-09-30 2015-04-15 中国电信股份有限公司 Method and system for detecting accessibility of addresses of application servers
CN105391639A (en) * 2015-10-13 2016-03-09 深圳市唯传科技有限公司 Internet-of-things intelligent gateway routing method and Internet-of-things intelligent gateway routing system
CN106664326A (en) * 2015-06-29 2017-05-10 华为技术有限公司 Dual stack address management method and first network element
CN109802959A (en) * 2019-01-07 2019-05-24 烽火通信科技股份有限公司 Internet protocol selection method and system under double stack environment
CN113766276A (en) * 2020-06-19 2021-12-07 天翼智慧家庭科技有限公司 Method and system for IPTV service based on IP double stack self-adaptive request

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257389A (en) * 2007-03-02 2008-09-03 日立通讯技术株式会社 ICMP translator
CN101374295A (en) * 2007-08-21 2009-02-25 华为技术有限公司 Method and terminal for selecting access network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7701958B2 (en) * 2002-07-02 2010-04-20 Qualcomm Incorporated Communication system supporting transition between network communications protocols
EP1623556B1 (en) * 2003-05-07 2008-07-23 Research In Motion Limited Method and apparatus for reducing undeliverable push IP traffic in a wireless network
FI116186B (en) * 2003-12-19 2005-09-30 Nokia Corp Arranging data transmission in a wireless packet data transmission system
CN1302651C (en) * 2004-11-10 2007-02-28 华为技术有限公司 A service universal block radio business supporting internodel communication method
EP1705859A1 (en) * 2005-03-24 2006-09-27 Orange SA Packet radio network and method for activation of a packet data protocol context

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257389A (en) * 2007-03-02 2008-09-03 日立通讯技术株式会社 ICMP translator
CN101374295A (en) * 2007-08-21 2009-02-25 华为技术有限公司 Method and terminal for selecting access network

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160587A1 (en) * 2010-06-25 2011-12-29 中兴通讯股份有限公司 Method and system for connecting a dual-stack terminal to networks
CN102421201A (en) * 2011-11-22 2012-04-18 中兴通讯股份有限公司 Method for rapidly establishing dual-stack wireless connection and wireless terminal equipment
WO2013075423A1 (en) * 2011-11-22 2013-05-30 中兴通讯股份有限公司 Method for rapidly establishing dual-stack wireless connection and wireless terminal device
CN102421201B (en) * 2011-11-22 2014-03-12 中兴通讯股份有限公司 Method for rapidly establishing dual-stack wireless connection and wireless terminal equipment
US9565706B2 (en) 2011-11-22 2017-02-07 Zte Corporation Method and wireless terminal device for rapidly establishing dual-stack wireless connection
US9577930B2 (en) 2012-02-01 2017-02-21 Huawei Technologies Co., Ltd. Method for determining multicast path, method for receiving data packet, and router
WO2013113237A1 (en) * 2012-02-01 2013-08-08 华为技术有限公司 Method for determining multicast path, method for receiving data message, and router
WO2014067420A1 (en) * 2012-11-05 2014-05-08 中兴通讯股份有限公司 Packet data network type management method, device, and system
CN103260088A (en) * 2012-12-14 2013-08-21 四川九洲电器集团有限责任公司 Method allowing set top box to support IPV4 network and IPV6 network simultaneously
CN103260088B (en) * 2012-12-14 2016-03-16 四川九洲电器集团有限责任公司 A kind of Set Top Box supports the method for IPV4 and IPV6 network simultaneously
CN104519148A (en) * 2013-09-30 2015-04-15 中国电信股份有限公司 Method and system for detecting accessibility of addresses of application servers
CN106664326A (en) * 2015-06-29 2017-05-10 华为技术有限公司 Dual stack address management method and first network element
CN105391639A (en) * 2015-10-13 2016-03-09 深圳市唯传科技有限公司 Internet-of-things intelligent gateway routing method and Internet-of-things intelligent gateway routing system
CN105391639B (en) * 2015-10-13 2019-05-03 深圳市唯传科技有限公司 A kind of intelligent networking gateway method for routing and system
CN109802959A (en) * 2019-01-07 2019-05-24 烽火通信科技股份有限公司 Internet protocol selection method and system under double stack environment
CN113766276A (en) * 2020-06-19 2021-12-07 天翼智慧家庭科技有限公司 Method and system for IPTV service based on IP double stack self-adaptive request
CN113766276B (en) * 2020-06-19 2024-05-03 天翼数字生活科技有限公司 IPTV service method and system based on IP dual-stack self-adaptive request

Also Published As

Publication number Publication date
WO2010148946A1 (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN102088494A (en) Method and system for connecting internet protocol version 4 (IPv4)/IPv6 dual-stack terminal with network
CN109315004B (en) PDU type setting method and related entity
US9686231B2 (en) Method for acquiring information and network equipment
JP4512602B2 (en) Automatic network selection method and apparatus using steering PLMN
CN101978716B (en) For the method that optimizing user equipment PDN (packet data network) connects
WO2012148314A1 (en) Dynamic provisioning of mobile device profiles in a roaming network
JP2010537457A (en) How to make UICC handle PDP context parameters
CN101345998A (en) Access network switch method, anchor point management equipment, mobile access equipment
CN102368789A (en) Method and system for connecting dual-stack terminal to network
EP1739899A1 (en) A method and system for providing ipv6 service
WO2013170562A1 (en) Method, device, and system for automatically selecting ipv6 address transmission mode
CN103052170B (en) A kind of method that network based on cell phone network share service connects and mobile phone
JP2021520657A (en) System, mobile communication network components, method for selecting network function and method for registering network function
WO2013167083A2 (en) Method and device for selecting domain name server
US9615246B2 (en) Dynamic allocation of host IP addresses
CN107734491B (en) VoWifi roaming control method and system
CN101557578A (en) Method and terminal for automatically recognizing and setting dialing parameters
EP1871052A1 (en) Ppp access terminal,access service device and a method of the terminal obtaining the server address of the provider
WO2014180302A1 (en) Application internet access processing method, apparatus, and terminal
CN109510906B (en) Method, device, system and storage medium for realizing internet access service
CN103619070B (en) The implementation method of multi-packet data network and device
DK1817892T3 (en) PROCEDURE AND SYSTEM TO OPEN A NETWORK LINK
JP4306579B2 (en) Home link setting method, home gateway device, and mobile terminal
CN103888363B (en) A kind of service shunting method and device for accessing internet
CN106211142A (en) A kind of WiFi AP terminal wide area network cut-in method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110608