WO2013135000A1 - 一种双协议栈接入方法和系统 - Google Patents

一种双协议栈接入方法和系统 Download PDF

Info

Publication number
WO2013135000A1
WO2013135000A1 PCT/CN2012/075758 CN2012075758W WO2013135000A1 WO 2013135000 A1 WO2013135000 A1 WO 2013135000A1 CN 2012075758 W CN2012075758 W CN 2012075758W WO 2013135000 A1 WO2013135000 A1 WO 2013135000A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol stack
access
dual
network
port
Prior art date
Application number
PCT/CN2012/075758
Other languages
English (en)
French (fr)
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 WO2013135000A1 publication Critical patent/WO2013135000A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular, to a dual protocol stack access method and system. Background technique
  • IP networks have become an indispensable tool in people's daily work and life.
  • IPv4 network addresses has made the large-scale commercialization of IPv6 network addresses an inevitable trend.
  • supporting dual-stacks is The development trend of portable mobile terminals.
  • IPv4 single-stack or IPv6 single-stack are IPv4 single-stack or IPv6 single-stack, and cannot be used simultaneously by IPv4 and IPv6, which is not conducive to the convergence of IPv4 and IPv6 networks.
  • IPv4 and IPv6 use the same access port to implement access at the same time.
  • This scheme has some drawbacks, for example, when there is a problem in any protocol stack in the dual stack, since it is a single interface The interface cannot be reconfigured to restore the problematic protocol stack. Only the entire interface can be reset at the same time, and the dual stack is restored. As a result, the original protocol stack is delayed. Summary of the invention
  • the present invention provides a more complete dual-stack access method and system, which can avoid the problem that the protocol stacks interact with each other when the two terminals are used simultaneously by the terminal in the prior art.
  • a dual protocol stack access method where the method includes:
  • Two or more access ports are created on the network device that supports dual protocol stack access.
  • the dual protocol stack terminal accesses the network device, different protocol stacks use different access ports for network access.
  • different protocol stacks use different access ports for network connection.
  • network access is performed by using an access port corresponding to each protocol stack.
  • the access port is a port defined by a network driver interface specification.
  • a dual protocol stack access system comprising a dual protocol stack terminal and a network device supporting dual protocol stack access, wherein the dual protocol stack terminal is provided with a dual protocol stack and a network access control module, where the network device is configured There is a port creation module, and two or more access ports for supporting dual protocol stack access are also provided, where
  • the port creation module is configured to create the access port on the network device; the network access control module is configured to use different access ports to perform network access according to different protocol stacks.
  • the network access control module is specifically configured to pre-configure a binding relationship between the protocol stack and the access port; and according to the binding relationship, use an access port corresponding to each protocol stack. Network access.
  • the dual protocol stack terminal is a portable mobile terminal with a built-in subscriber identity card or a network card.
  • the network device is a computer.
  • the dual protocol stack access method and system created two or more access ports on a network device that supports dual protocol stack access, so that the dual protocol stack terminals use different connections according to different protocol stacks.
  • Incoming port for network access which not only enables the terminal to use two protocol stacks at the same time, but also does not appear at the same time when two protocol stacks use the same access port at the same time.
  • any protocol stack has a problem, only It is necessary to reconfigure or reset the access port currently in use to recover the problematic protocol stack, so as not to affect other normal protocol stacks.
  • FIG. 1 is a schematic diagram of a dual protocol stack access system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a dual protocol stack access method according to an embodiment of the present invention. detailed description
  • the dual protocol stack in the embodiment of the present invention includes, but is not limited to, an IPv4 & IPv6 dual stack, and two sets of protocol stacks of IPv4 and IPv6 are simultaneously run on the node using the technology.
  • Dual protocol stack terminals include, but are not limited to, portable mobile terminals with built-in user identification cards (SIM cards) or network cards, such as mobile phones with built-in SIM cards.
  • SIM cards built-in user identification cards
  • the dual protocol stack terminal internal software supports two sets of protocol stacks, IPv4 and IPv6.
  • Network devices that support dual stack access include, but are not limited to, computers.
  • the network device uses the client to send a packet data protocol configuration command (such as QMI_WDS_MODIFY_PROFILE_SETTINGS_REQ 1 ) to the dual protocol stack terminal, and the packet data protocol configuration command carries the networked user name and password corresponding to the IPv6 protocol stack.
  • the DNS Domain Name System
  • the dual protocol stack terminal receives the packet data protocol configuration command, and performs PDP parameter configuration of the IPv6 protocol stack according to the parameters carried by the dual protocol stack terminal.
  • the network device uses the client to send a packet data protocol configuration command (such as QMI_WDS_MODIFY_PROFILE_SETTINGS_REQ 2 ) to the dual protocol stack terminal, and the packet data protocol configuration command carries the networked user name and password corresponding to the IPv4 protocol stack.
  • the parameters such as the DNS address; the dual protocol stack terminal receives the packet data protocol configuration command, and performs PDP parameter configuration of the ⁇ ⁇ 4 protocol stack according to the parameters carried by the dual protocol stack terminal.
  • the PDP parameter configuration of the IPv6 protocol stack may be marked as 1 and the PDP parameter configuration of the IPv4 protocol stack may be marked as 2.
  • the process of configuring the networking parameters may be performed during the dual protocol stack access process or may be pre-configured before the dual protocol stack is accessed.
  • a dual protocol stack access system is provided in the embodiment of the present invention.
  • the system includes a dual protocol stack terminal 11 and a network device 12 supporting dual protocol stack access.
  • the dual protocol stack terminal 11 is provided with a dual protocol.
  • the stack 111 and the network access control module 112, the network access control module 112 can be included in the driver.
  • the network device 12 is provided with a port creation module 121, and a client 122 for performing information interaction with the dual protocol stack terminal 11 is also installed.
  • the port creation module 121 may also be included in the client 122, and is also configured.
  • the port creation module 121 is configured to create the access port on the network device 12.
  • the access port is a port defined by a network driver interface specification (NDIS), and conforms to a network driver interface specification.
  • NDIS network driver interface specification
  • the network access control module 112 is connected to the dual protocol stack 111 and the access port, and is configured to use different access ports for network access according to different protocol stacks to be accessed. As an implementation manner, the network access control module 112 may be configured to pre-configure a binding relationship between the protocol stack and the access port. According to the binding relationship, the access port corresponding to each protocol stack is used for network access.
  • the binding relationship may be - a corresponding binding relationship, that is, a set of protocol stacks corresponds to an access port. It is also possible to set an access port to a mode in which one set of protocol stacks is used preferentially, that is, at the same time, the protocol stack having a binding relationship with the access port preferentially uses the access port, and the protocol stack does not use the The port, or the protocol stack fails to use the port, or when the protocol stack fails, causing the port to be idle, another protocol stack can use the port to access.
  • the dual protocol stack access method is provided by using an IPv4 & IPv6 dual protocol stack as an example.
  • the method includes the following steps:
  • the dual protocol stack terminal 11 can use the driver to activate the port creation module 121 on the network device 12, create two or more access ports 123 on the network device 12, and set different identifiers for each access port 123, such as Dl, D2, the identifier is solidified in the storage space of the dual protocol stack terminal 11 and the network device 12.
  • the network device 12 uses the client 122 to send an acquisition port identifier command (QMI_CTL_GET_LIENT_ID) to the dual protocol stack terminal 11 for the IPv6 protocol stack and the IPv4 protocol stack respectively.
  • an acquisition port identifier command QMI_CTL_GET_LIENT_ID
  • the network device 12 After the dual protocol stack terminal 11 receives Sending the identifier corresponding to the different access ports to the network device 12 by using a corresponding response message, and the network device 12 respectively sends a client IP attribute setting command (QMI_WDS_SET_CLIENT_IP_FAMILY_PREF) to the dual protocol stack terminal 11, and the dual protocol stack terminal 11 receives After the client IP attribute setting command, the corresponding access port identifier is respectively bound to the corresponding protocol stack, specifically:
  • the network device 12 sends a port identification command to the dual protocol stack terminal 11 by using the client 122 for the IPv6 protocol stack. After receiving the port identification command, the dual protocol stack terminal 11 identifies the identifier of one of the access ports, such as D1. Sending a response message of the port identification command to the network device 12, the network device 12 sends a client IP attribute setting command to the dual protocol stack terminal 11, and after receiving the client IP attribute setting command, the dual protocol stack terminal 11 Identifies the binding of D1 to the IPv6 protocol stack.
  • the network device 12 sends another acquisition port indication command to the dual protocol stack terminal 11 by using the client 122 for the IPv4 protocol stack.
  • the identifier of another access port such as D2.
  • the binding relationship may be corresponding to, that is, the identifiers D1 and IPv6, the identifiers D2 and IPv4, or the mode in which the identifier D1 is set to be used preferentially, and the identifier D2 is set to The mode of IPv4 priority use. That is, at the same time, the IPv6 protocol stack preferentially uses the access port corresponding to the identifier D1. When the port is not used by the IPv6 protocol stack, or the IPv6 protocol stack fails to use the port, or the IPv6 protocol stack fails, the port is idle. The port can be accessed by using the port. Similarly, the IPv4 protocol stack preferentially uses the access port corresponding to the identifier D2. The port is not used by the IPv4 protocol stack, or the IPv4 protocol stack fails to use the port, or the IPv4 protocol stack fails. When the port is idle, IPv6 can use this port to access.
  • the dual protocol stack terminal 11 establishes an IPv6 connection: the network device 12 sends a network request command (start_network_interface_req 1) to the dual protocol stack terminal 11 by using the client 122, and the network request command carries the step S22 and the IPv6 protocol stack.
  • the binding identifier D1 that is, the access port specified by the network in the network request command is the access port corresponding to the identifier D1 bound to the IPv6 protocol stack in step S22, and the dual protocol stack terminal 11 receives the networking request command.
  • the PDP context activation process is completed by using the previously configured PDP parameters of the IPv6 protocol stack and the network interaction.
  • the dual protocol stack terminal 11 sends a network status notification (start_network_interface_rsp1 and Wds_Pkt_Srvc_Status) — Ind 1)
  • the network device 12 After receiving the network status notification, the network device 12 confirms that the network connection establishment of the IPv6 protocol stack is successful.
  • IPv6 DNS configuration After establishing an IPv6 connection, perform IPv6 DNS configuration, and the network device 12 uses the client 122 to send and obtain real-time network parameter requests.
  • the network device 12 obtains the DNS parameters from the response, and then configures the parameters to the operating system of the network device 12 to set the IPv6 DNS attributes.
  • the dual protocol stack terminal 11 establishes an IPv4 connection: the network device 12 sends a network request command (start_network_interface_req 2) to the dual protocol stack terminal 11 by using the client 122, and the networking request command carries the step S22 and the IPv4 protocol stack. Bind the identifier D2, that is, the network request life
  • the access port specified in the network is the access port corresponding to the identifier D2 bound to the IPv4 protocol stack in step S22, and the dual protocol stack terminal 11 uses the PDP of the previously configured IPv4 protocol stack after receiving the networking request command.
  • the parameter interacts with the network to complete the PDP context activation process.
  • the dual protocol stack terminal 11 sends a network status notification (start_network_interface_rsp 2 and Wds_Pkt_Srvc_Status_Ind 2) to the network device 12, After receiving the network status notification, the network device 12 confirms that the network connection establishment of the IPv4 protocol stack is successful.
  • Step S25 can also be performed before step S23, as the case may be.
  • the network device 12 sends a connection disconnect request (stop_network_interface_req 1 ) to the dual protocol stack terminal 11 by using the client 122, and the disconnect request carries the identifier bound to the IPv6 protocol stack in step S22.
  • D 1 after receiving the disconnection request, the dual protocol stack terminal 11 completes the PDP context deactivation process with the network, and the dual protocol stack terminal 11 detects that the deactivation process ends and sends a disconnection state indication (stop_network_interface_rsp 1 and Wds_Pkt). - Srvc - Status - Ind 1 ) To the network device 12, notifying the network device 12 that the IPv6 connection is broken. After disconnection, return to step S23 to re-establish an IPv6 connection.
  • Network device 12 uses client 122 to send a disconnect request when disconnecting the IPv4 connection
  • the disconnection request carries the identifier D2 bound to the IPv4 protocol stack in step S22, and the dual protocol stack terminal 11 interacts with the network after receiving the disconnection request
  • the dual protocol stack terminal 11 detects that the deactivation process is over, sends a connection disconnection state indication (stop_network_interface_rsp 2 and Wds_Pkt_Srvc_Status_Ind 2 ) to the network device 12, notifying the network device 12 that the IPv4 connection is broken. open. After disconnection, return to step S25 to re-establish an IPv4 connection.
  • the method and system for accessing dual protocol stacks provided by the embodiments of the present invention implement coexistence of IPv4 and IPv6 networks, and does not occur when two protocol stacks simultaneously use the same access port at the same time, when any protocol When there is a problem with the stack, it only needs to reconfigure or reset the access port that is currently being used, so that the problematic protocol stack can be restored without affecting other normal protocol stacks.
  • the drawback of the single interface dual stack in the prior art is avoided.

Abstract

本发明公开一种双协议栈接入方法,包括:在支持双协议栈接入的网络设备上创建两个或多个接入端口;双协议栈终端接入所述网络设备时,不同的协议栈使用不同的接入端口进行网络接入。本发明还相应地公开了一种双协议栈接入系统,该系统包括双协议栈终端和支持双协议栈接入的网络设备。本发明通过以上技术方案,提供一种更加完善的双协议栈接入的方法和系统,能够避免终端同时使用两个协议栈时,协议栈之间相互影响的问题。

Description

一种双协议栈接入方法和系统 技术领域
本发明涉及通信领域, 尤其涉及一种双协议栈接入方法和系统。 背景技术
随着因特网的发展, IP 网络逐渐成为人们日常工作和生活中必不可少 的工具, IPv4网络地址的日渐紧缺, 使得 IPv6网络地址的大规模商用成为 必然的发展趋势, 同时, 支持双协议栈是便携式移动终端的发展趋势。
目前, 绝大多数终端均是 IPv4单栈或 IPv6 单栈, 不能 IPv4和 IPv6 同时使用, 这不利于 IPv4和 IPv6网络的融合发展。还有一类终端支持单接 口双栈方案, 即 IPv4和 IPv6同时使用同一接入端口实现接入, 这种方案存 在一些缺陷, 如, 当双栈中任一协议栈出问题时, 由于是单接口, 无法对 接口进行重新配置使出问题的协议栈恢复, 只能同时将整个接口复位, 同 时将双栈恢复, 从而会导致原本正常的协议栈被耽搁。 发明内容
本发明提供一种更加完善的双协议栈接入方法和系统, 能够避免现有 技术中终端同时使用两个协议栈时, 协议栈之间相互影响的问题。
为达到上述目的, 本发明实施例的技术方案是这样实现的:
一种双协议栈接入方法, 其中, 该方法包括:
在支持双协议栈接入的网络设备上创建两个或多个接入端口; 双协议栈终端接入所述网络设备时, 不同的协议栈使用不同的接入端 口进行网络接入。
在本发明一实施例中, 不同的协议栈使用不同的接入端口进行网络接 入为:
预先配置协议栈与接入端口的绑定关系;
根据所述绑定关系, 使用各协议栈相对应的接入端口进行网络接入。 在本发明一实施例中, 所述接入端口为网络驱动接口规范制定的端口。 一种双协议栈接入系统, 包括双协议栈终端和支持双协议栈接入的网 络设备, 所述双协议栈终端上设置有双协议栈和网络接入控制模块, 所述 网络设备上设置有端口创建模块, 还设置有两个或多个用于支持双协议栈 接入的接入端口, 其中,
所述端口创建模块设置为在所述网络设备上创建所述接入端口; 所述网络接入控制模块设置为根据不同的协议栈使用不同的接入端口 进行网络接入。
在本发明一实施例中, 所述网络接入控制模块, 具体设置为预先配置 协议栈与接入端口的绑定关系; 根据所述绑定关系, 使用各协议栈相对应 的接入端口进行网络接入。
在本发明一实施例中, 所述双协议栈终端为内置用户识别卡或网卡的 便携式移动终端。
在本发明一实施例中, 所述网络设备为计算机。
本发明实施例提供的双协议栈接入方法和系统, 在支持双协议栈接入 的网络设备上创建两个或多个接入端口, 让双协议栈终端根据不同的协议 栈使用不同的接入端口进行网络接入, 这样不但能使终端同时使用两个协 议栈, 而且, 不会出现在同一时刻两个协议栈同时使用同一接入端口的情 况, 当任一协议栈出问题时, 只需要对其当前正在使用的接入端口进行重 新配置或复位, 使出问题的协议栈恢复, 从而不会影响其他正常的协议栈。 附图说明
图 1为本发明实施例一种双协议栈接入系统的示意图; 图 2为本发明实施例一种双协议栈接入方法的流程图。 具体实施方式
下面通过具体实施方式结合附图对本发明作进一步详细说明。
本发明实施例所述的双协议栈包括但不局限于 IPv4&IPv6 双协议栈 ( Dual Stack) , 釆用该技术的节点上同时运行 IPv4和 IPv6两套协议栈。 双 协议栈终端包括但不局限于内置用户识别卡 (SIM 卡)或网卡的便携式移 动终端, 如内置 SIM卡的手机, 双协议栈终端内部软件支持 IPv4和 IPv6 两套协议栈。 支持双协议栈接入的网络设备包括但不局限于计算机。
双协议栈终端既然同时支持两套协议栈, 需要在双协议栈终端上给各 套协议栈配置联网参数配置, 或称为 PDP ( packet data protocol, 分组数据 协议)参数配置, 其配置过程可参照如下方式进行:
IPv6协议栈的 PDP参数配置过程: 网络设备利用客户端发送分组数据 协议配置命令(如 QMI_WDS_MODIFY_PROFILE_SETTINGS_REQ 1 )到 双协议栈终端, 分组数据协议配置命令中携带与 IPv6协议栈相应的联网用 户名、 密码、 DNS (Domain Name System, 域名系统)地址等参数; 双协议 栈终端接收到该分组数据协议配置命令,根据其携带的这些参数进行 IPv6协 议栈的 PDP参数配置。
IPv4协议栈的 PDP参数配置过程: 网络设备利用客户端发送分组数据 协议配置命令(如 QMI_WDS_MODIFY_PROFILE_SETTINGS_REQ 2 )到 双协议栈终端, 分组数据协议配置命令中携带与 IPv4协议栈相应的联网用 户名、 密码、 DNS地址等参数; 双协议栈终端接收到该分组数据协议配置 命令,根据其携带的这些参数进行 ιρν4协议栈的 PDP参数配置。
进一步, 为了区分 IPv4和 IPv6两套协议栈, 在完成 PDP参数配置之 后,还可以给 IPv6协议栈的 PDP参数配置标示为 1 ,给 IPv4协议栈的 PDP 参数配置标示为 2。 该联网参数配置的过程可以在双协议栈接入的过程中进行, 也可以在 双协议栈接入之前预先配置。
如图 1 所示, 为本发明实施例一种双协议栈接入系统, 该系统包括双 协议栈终端 11和支持双协议栈接入的网络设备 12, 双协议栈终端 11上设 置有双协议栈 111和网络接入控制模块 112, 网络接入控制模块 112可以包 含于驱动程序中。 网络设备 12上设置有端口创建模块 121 , 还可以安装用 于与双协议栈终端 11进行信息交互的客户端 122, 在实际应用中, 端口创 建模块 121也可以包含在客户端 122中, 还设置有两个或多个用于支持双 协议栈接入的接入端口 123。
其中, 端口创建模块 121用于在网络设备 12上创建所述接入端口, 优 选的, 该接入端口为网络驱动接口规范 (NDIS, Network Driver Interface Specification)制定的端口, 符合网络驱动接口规范。 为了便于区分, 可以对 每个接入端口设置不同的标识, 如 Dl、 D2。
网络接入控制模块 112与双协议栈 111、 接入端口连接, 用于根据当前 待接入的不同的协议栈使用不同的接入端口进行网络接入。 作为一种实施 方式, 网络接入控制模块 112 可以用于预先配置协议栈与接入端口的绑定 关系; 根据该绑定关系, 使用各协议栈相对应的接入端口进行网络接入。
该绑定关系可以是——对应的绑定关系, 即一套协议栈与一个接入端 口——对应。 也可以是将一接入端口设置成其中一套协议栈优先使用的模 式, 即同一时刻, 与该接入端口具有绑定关系的协议栈优先使用该接入端 口, 在该协议栈不使用该端口, 或该协议栈使用该端口接入失败, 或者该 协议栈出现故障导致该端口空闲时, 另一协议栈可以使用该端口接入。
如图 2所示, 为本发明一实施例提供的双协议栈接入方法, 该方法以 IPv4&IPv6双协议栈为例, 具体包括以下步骤:
S21、 双协议栈终端 11通过 USB接口等设备连接网络设备 12之后, 双协议栈终端 11可利用驱动程序激活网络设备 12上的端口创建模块 121 , 在网络设备 12上创建两个或多个接入端口 123 , 并对每个接入端口 123设 置不同的标识, 如 Dl、 D2, 将该标识固化在双协议栈终端 11和网络设备 12的存储空间。
S22、 网络设备 12利用客户端 122针对 IPv6协议栈和 IPv4协议栈,分 别发送获取端口标示命令( QMI—CTL— GET— CLIENT— ID )到双协议栈终端 11, 双协议栈终端 11收到后, 分别将不同接入端口所对应的标识通过相应 的应答消息发送给网络设备 12, 网络设备 12分别发送客户端 IP属性设置 命令( QMI_WDS_SET_CLIENT_IP_FAMILY_PREF ) 到双协议栈终端 11, 双协议栈终端 11收到客户端 IP属性设置命令之后,分别将相应的接入端口 标识与相应的协议栈绑定 , 具体地:
网络设备 12利用客户端 122针对 IPv6协议栈发送一获取端口标示命令 到双协议栈终端 11, 双协议栈终端 11收到该获取端口标示命令后, 将其中 一接入端口的标识, 如 D 1 , 通过获取端口标示命令的应答消息发送给网络 设备 12 , 网络设备 12发送一客户端 IP属性设置命令到双协议栈终端 11, 双协议栈终端 11收到该客户端 IP属性设置命令之后, 将标识 D1与 IPv6 协议栈绑定。
网络设备 12利用客户端 122针对 IPv4协议栈发送另一获取端口标示命 令到双协议栈终端 11, 双协议栈终端 11收到该获取端口标示命令后, 将另 一接入端口的标识, 如 D2, 通过获取端口标示命令的应答消息发送给网络 设备 12, 网络设备 12发送另一客户端 IP属性设置命令到双协议栈终端 11, 双协议栈终端 11收到该客户端 IP属性设置命令之后, 将标识 D2与 IPv4 协议栈绑定。
绑定关系可以是——对应, 即标识 D1与 IPv6、 标识 D2与 IPv4—— 对应,也可以是将标识 D1设置成 IPv6优先使用的模式,将标识 D2设置成 IPv4优先使用的模式。 即同一时刻, IPv6协议栈优先使用标识 D1对应的 接入端口,在 IPv6协议栈不使用该端口, 或 IPv6协议栈使用该端口接入失 败, 或者 IPv6协议栈出现故障导致该端口空闲时, IPv4可以使用该端口接 入, 同样, IPv4协议栈优先使用标识 D2对应的接入端口, 在 IPv4协议栈 不使用该端口, 或 IPv4协议栈使用该端口接入失败, 或者 IPv4协议栈出现 故障导致该端口空闲时, IPv6可以使用该端口接入。
523、 双协议栈终端 11建立 IPv6连接: 网络设备 12利用客户端 122 发送联网请求命令( start— network— interface— req 1 )到双协议栈终端 11 , 联 网请求命令携带步骤 S22中与 IPv6协议栈绑定的标识 D1 , 即联网请求命 令中指定联网使用的接入端口为步骤 S22中与 IPv6协议栈绑定的标识 D1 所对应的接入端口, 双协议栈终端 11收到联网请求命令后, 使用之前配置 的 IPv6协议栈的 PDP参数和网络交互, 完成 PDP上下文激活过程, 完成 联网后, 双协议栈终端 11 发送联网状态通知 (start— network— interface— rsp 1 和 Wds—Pkt—Srvc— Status— Ind 1)到网络设备 12,网络设备 12收到联网状态通 知后, 确认 IPv6协议栈的网络连接建立成功。
524、 建立 IPv6连接后, 进行 IPv6 DNS配置, 网络设备 12利用客户 端 122 发 送 获 取 实 时 网 络 参 数 请 求
( QMI WDS GET RU TIME SETTING REQ )到双协议栈终端 11,请求获 得实时网络参数, 双协议栈终端 11 收到请求后, 回复网络实时参数响应 ( QMI—WDS— GET— RUNTIME— SETTING— RESP )到网络设备 12 , 网络设 备 12从响应中获取 DNS参数, 再将此参数配置到网络设备 12的操作系统 上, 设置 IPv6 DNS属性。
525、 双协议栈终端 11建立 IPv4连接: 网络设备 12利用客户端 122 发送联网请求命令( start— network— interface— req 2 )到双协议栈终端 11 , 联 网请求命令携带步骤 S22中与 IPv4协议栈绑定的标识 D2, 即联网请求命 令中指定联网使用的接入端口为步骤 S22中与 IPv4协议栈绑定的标识 D2 所对应的接入端口, 双协议栈终端 11收到联网请求命令后, 使用之前配置 的 IPv4协议栈的 PDP参数和网络交互, 完成 PDP上下文激活过程, 完成 联网后, 双协议栈终端 11 发送联网状态通知 (start— network— interface— rsp 2 和 Wds—Pkt—Srvc— Status— Ind 2)到网络设备 12 ,网络设备 12收到联网状态通 知后, 确认 IPv4协议栈的网络连接建立成功。
步骤 S25也可在步骤 S23之前进行, 视具体情况而定。
断开 IPv6 连接时, 网络设备 12 利用客户端 122发送连接断开请求 ( stop— network— interface— req 1 )到双协议栈终端 11 ,断开请求携带步骤 S22 中与 IPv6协议栈绑定的标识 D 1 , 双协议栈终端 11收到连接断开请求后, 和网络交互完成 PDP上下文去激活过程,双协议栈终端 11检测去激活过程 结束, 发送连接断开 态指示 ( stop_network_interface_rsp 1 和 Wds—Pkt—Srvc— Status— Ind 1 )到网络设备 12, 通知网络设备 12IPv6连接断 开。 断开后, 可返回步骤 S23 , 重新建立 IPv6连接。
断开 IPv4 连接时, 网络设备 12 利用客户端 122发送连接断开请求
( stop— network— interface— req 2 )到双协议栈终端 11 ,断开请求携带步骤 S22 中与 IPv4协议栈绑定的标识 D2 , 双协议栈终端 11收到连接断开请求后, 和网络交互完成 PDP上下文去激活过程,双协议栈终端 11检测去激活过程 结束, 发送连接断开 态指示 ( stop_network_interface_rsp 2 和 Wds—Pkt—Srvc— Status— Ind 2 )到网络设备 12, 通知网络设备 12IPv4连接断 开。 断开后, 可返回步骤 S25 , 重新建立 IPv4连接。
本发明实施例提供的双协议栈接入的方法和系统, 实现了 IPv4和 IPv6 网络的共存, 而且, 不会出现在同一时刻两个协议栈同时使用同一接入端 口的情况, 当任一协议栈出问题时, 只需要对其当前正在使用的接入端口 进行重新配置或复位, 使出问题的协议栈恢复, 不影响其他正常的协议栈, 避免了现有技术中单接口双栈的缺陷。
以上内容是结合具体的实施方式对本发明所作的进一步详细说明, 不 能认定本发明的具体实施只局限于这些说明。 对于本发明所属技术领域的 普通技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干简单 推演或替换, 都应当视为属于本发明的保护范围。

Claims

权利要求书
1、 一种双协议栈接入方法, 其中, 该方法包括:
在支持双协议栈接入的网络设备上创建两个或多个接入端口; 双协议栈终端接入所述网络设备时, 不同的协议栈使用不同的接入端 口进行网络接入。
2、 如权利要求 1所述的双协议栈接入方法, 其中, 所述不同的协议栈 使用不同的接入端口进行网络接入为:
预先配置协议栈与接入端口的绑定关系;
根据所述绑定关系, 使用各协议栈相对应的接入端口进行网络接入。
3、 如权利要求 1所述的双协议栈接入方法, 其中, 所述接入端口为网 络驱动接口规范制定的端口。
4、 如权利要求 1至 3任一项所述的双协议栈接入方法, 其中, 所述双 协议栈终端为内置用户识别卡或网卡的便携式移动终端。
5、 如权利要求 1至 3任一项所述的双协议栈接入方法, 其中, 所述网 络设备为计算机。
6、 一种双协议栈接入系统, 其中, 该系统包括: 双协议栈终端和支持 双协议栈接入的网络设备, 所述双协议栈终端上设置有双协议栈和网络接 入控制模块, 所述网络设备上设置有端口创建模块, 还设置有两个或多个 用于支持双协议栈接入的接入端口, 其中,
所述端口创建模块, 设置为在所述网络设备上创建所述接入端口; 所述网络接入控制模块, 设置为根据不同的协议栈使用不同的接入端 口进行网络接入。
7、 如权利要求 6所述的双协议栈接入系统, 其中,
所述网络接入控制模块, 具体设置为预先配置协议栈与接入端口的绑 定关系; 根据所述绑定关系, 使用各协议栈相对应的接入端口进行网络接 入。
8、 如权利要求 6或 7所述的双协议栈接入系统, 其中, 所述双协议栈 终端为内置用户识别卡或网卡的便携式移动终端。
9、 如权利要求 6或 7所述的双协议栈接入系统, 其中, 所述网络设备 为计算机。
PCT/CN2012/075758 2012-03-15 2012-05-18 一种双协议栈接入方法和系统 WO2013135000A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012100688281A CN102611750A (zh) 2012-03-15 2012-03-15 一种双协议栈接入的方法和系统
CN201210068828.1 2012-03-15

Publications (1)

Publication Number Publication Date
WO2013135000A1 true WO2013135000A1 (zh) 2013-09-19

Family

ID=46528900

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075758 WO2013135000A1 (zh) 2012-03-15 2012-05-18 一种双协议栈接入方法和系统

Country Status (2)

Country Link
CN (1) CN102611750A (zh)
WO (1) WO2013135000A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383647A (zh) * 2020-11-30 2021-02-19 安徽信息工程学院 一种基于space6和双栈技术的网络系统

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938940A (zh) * 2012-11-02 2013-02-20 中兴通讯股份有限公司 一种无线数据终端及其支持IPv4/IPv6双栈的方法
CN105472050A (zh) 2014-08-20 2016-04-06 深圳市中兴微电子技术有限公司 一种网络接入方法及装置
CN104811975B (zh) * 2015-03-24 2019-06-25 联想(北京)有限公司 控制方法、装置及电子设备
CN108599987B (zh) * 2015-11-24 2020-02-07 Oppo广东移动通信有限公司 网络通信功能异常的处理方法、应用处理器和用户终端
CN108566303B (zh) * 2015-11-24 2019-05-21 Oppo广东移动通信有限公司 网络通信功能异常的处理方法、应用处理器及移动终端
CN105376781B (zh) * 2015-11-24 2018-05-29 广东欧珀移动通信有限公司 网络通信功能异常的处理方法、调制解调器和用户终端
CN108462973B (zh) * 2015-11-24 2021-05-04 Oppo广东移动通信有限公司 网络通信功能异常的处理方法、调制解调器和移动终端
CN105357705B (zh) * 2015-11-24 2018-05-29 广东欧珀移动通信有限公司 网络通信功能异常的处理方法、应用处理器和移动终端
CN105376776B (zh) * 2015-11-24 2018-03-27 广东欧珀移动通信有限公司 网络通信功能异常的处理方法、应用处理器和移动终端
CN108390789B (zh) * 2015-11-24 2019-09-06 Oppo广东移动通信有限公司 网络通信功能异常的处理方法、应用处理器和移动终端
CN105376113B (zh) * 2015-11-24 2018-05-29 广东欧珀移动通信有限公司 网络通信功能异常的处理方法、调制解调器和移动终端
CN107920073A (zh) * 2017-11-17 2018-04-17 广西小草信息产业有限责任公司 一种协议栈运行装置和方法
CN108667667B (zh) * 2018-05-21 2019-11-01 中国联合网络通信集团有限公司 软交换呼叫方法及软交换呼叫系统
TWI703835B (zh) * 2019-01-25 2020-09-01 中華電信股份有限公司 用於虛擬機網路卡之供裝監控系統及方法

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447935A (zh) * 2008-11-20 2009-06-03 华为技术有限公司 数据包转发方法、系统及设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692674B (zh) * 2009-10-30 2012-10-17 杭州华三通信技术有限公司 双栈接入的方法和设备
CN101789981B (zh) * 2010-03-18 2014-03-19 杭州华三通信技术有限公司 双协议栈数据传输的方法和设备
CN102006338B (zh) * 2010-12-23 2013-01-09 山东大学 嵌入式设备支持IPv4/IPv6协议的并发通信方法

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447935A (zh) * 2008-11-20 2009-06-03 华为技术有限公司 数据包转发方法、系统及设备

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ROONEY, T.: "IPv4-to-IPv6 Transition and Co-Existence Strategies", BT DIAMOND IP, 2011, pages 5 - 6 *
TSUCHIYA, K. ET AL.: "Dual Stack Hosts using the ''Bump-In-the-Stack'' Technique (BIS)''", RFC2767, February 2000 (2000-02-01), pages 2 - 8 *
ZHANG, YU ET AL.: "IPv6/IPv4 Dual Stack Ethernet Access Router with Authentication and Mobility Support", COMPUTER ENGINEERING, vol. 30, no. 11, June 2004 (2004-06-01), pages 83 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383647A (zh) * 2020-11-30 2021-02-19 安徽信息工程学院 一种基于space6和双栈技术的网络系统

Also Published As

Publication number Publication date
CN102611750A (zh) 2012-07-25

Similar Documents

Publication Publication Date Title
WO2013135000A1 (zh) 一种双协议栈接入方法和系统
WO2014056135A1 (zh) 端口设置方法、路由设备及电脑程序产品
WO2012079473A1 (zh) 自动切换网络的方法和装置、无线接入设备和中间设备
WO2003036838A1 (en) A method for setting up a ipoa channel based default administration channel
WO2004051927A1 (fr) Procede et systeme de gestion en grappes d'installations du reseau
WO2015051701A1 (zh) Wifi同步apn网络多通道并发上网并自动优选wifi联网的方法
WO2013071709A1 (zh) 支持以3G及Wi-Fi方式接入网络的无线宽带数据卡
WO2012129984A1 (zh) 一种终端批量升级的方法及系统
CN106713039B (zh) 以太网口的识别方法、装置及路由器
WO2014169633A1 (zh) 移动终端建立无线局域网的方法及移动终端
WO2017088101A1 (zh) 一种网络连接信息获取方法及路由器
WO2013178160A1 (zh) 无线数据终端及其支持IPv4/IPv6双栈的方法
JP5551805B2 (ja) インターネットにアクセスする方法および装置
CN103475751A (zh) 一种ip地址切换的方法及装置
WO2013178194A2 (zh) 数据终端升级装置及方法
WO2010148914A1 (zh) 一种拨号服务创建的方法和装置
WO2007033519A1 (fr) Procede permettant la mise a jour d'un reseau de communication prive virtuel dynamiquement
WO2011106965A1 (zh) 用于cpe的数据访问方法和cpe
WO2011160587A1 (zh) 一种双栈终端连接网络的方法及系统
CN102143233A (zh) 一种用户终端设备及网络接入方法
CN102710629B (zh) 网络连接方法和系统
WO2015051703A1 (zh) 有序管理多路apn并发联网数据传输通道的方法
WO2007028330A1 (fr) Procede et systeme de distribution automatique d'un service au terminal d'acces ppp
WO2013167019A2 (zh) 一种双模双待移动终端及其通讯方法
WO2015139401A1 (zh) 无线网络的建立方法、系统及无线路由装置

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: 12871200

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: 12871200

Country of ref document: EP

Kind code of ref document: A1