WO2012028011A1 - 一种会话监控方法及服务节点设备 - Google Patents

一种会话监控方法及服务节点设备 Download PDF

Info

Publication number
WO2012028011A1
WO2012028011A1 PCT/CN2011/075853 CN2011075853W WO2012028011A1 WO 2012028011 A1 WO2012028011 A1 WO 2012028011A1 CN 2011075853 W CN2011075853 W CN 2011075853W WO 2012028011 A1 WO2012028011 A1 WO 2012028011A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
ipv6
ipv4
node device
service node
Prior art date
Application number
PCT/CN2011/075853
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 WO2012028011A1 publication Critical patent/WO2012028011A1/zh

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/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
    • 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/168Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]

Definitions

  • Session monitoring method Session monitoring method, service node device, technical field
  • the present invention relates to a session monitoring technology, and in particular, to a session monitoring method for a dual stack user and a service node device. Background technique
  • the basic networking of the existing broadband access network includes: the user host accesses the service node (Service Node, SN) device through the access node (AN) device, and obtains the IP address and the SN device.
  • Service Node Service Node
  • AN access node
  • User policy assigned by the operator While the user is online, the SN device establishes a related user session table and keeps the user in a different way to delete users who are abnormally offline but occupy the system resources of the device.
  • IPv4 networks As the resources of IPv4 addresses are exhausted, the application of IPv6 access will become more and more popular. However, the network is still dominated by IPv4 networks. Therefore, there is a transition period between IPv4 networks and IPv6 networks. During this transition period, A dual-stack user with a host having both IPv4/IPv6 addresses becomes an inevitable access type for broadband access.
  • IPv4-based IP over Ethernet (IPoE) access uses Dynamic Host Configuration Protocol (DHCP) access; IPv6-based IPoE access is divided into DHCPv6 access, stateless address autoconfiguration (Stateless Address Autoconfiguration, SLAAC) Access mode of Point-to-Point Protocol over Ethernet (PPPoE) on Ethernet. IPoE's dual-stack access sessions are divided into two categories: DHCP and DHCPv6 simultaneous access, DHCP and SLAAC simultaneous access.
  • DHCP Dynamic Host Configuration Protocol
  • SLAAC Stateless Address Autoconfiguration
  • IPoE's dual-stack access sessions are divided into two categories: DHCP and DHCPv6 simultaneous access, DHCP and SLAAC simultaneous access.
  • the SN device separately monitors the IPv4 session and the IPv6 session after the IPoE dual-stack access, that is, when a host acquires both IPv4 and IPv6, the SN is respectively Session monitoring of the IPv6 address and IPv4 address of the IPoE dual-stack user has the following drawbacks:
  • the SN device needs to separately monitor the IPv4 session and the IPv6 session of the same user. This does not meet the definition of the dual-stack user. Just like the dual stack of PPPoE, the dual-stack user should be considered as a user session.
  • IP session monitoring is mainly to prevent resources from being released after the host is offline. If the host is offline abnormally, the host's IPv4 session and IPv6 session will be interrupted. Therefore, simultaneous IPv4 session and IPv6 session monitoring for the same user host is Repeated labor increases the processing pressure of the SN device invisibly. Specifically, the processing pressure for dual-stack user access according to the existing method will be twice that of the single-stack user. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a session monitoring method and a service node device to reduce the processing pressure of the service node device.
  • the present invention provides the following technical solutions:
  • a session monitoring method includes:
  • the serving node device When the IPoE dual-stack user accesses the serving node device, the serving node device establishes an IPv4 session and an IPv6 session for the IPoE dual-stack user;
  • the serving node device selects a session from the IPv4 session and the IPv6 session to obtain a first session
  • the serving node device performs session monitoring on the first session to obtain a session monitoring result; the serving node device processes the IPv4 session and the IPv6 session according to the session monitoring result.
  • the processing, by the serving node device, processing the IPv4 session and the IPv6 session according to the session monitoring result includes:
  • the service node device selects a session from the IPv4 session and the IPv6 session to obtain the first session, including:
  • the serving node device selects a session that is successfully established first from the IPv4 session and the IPv6 session as the first session.
  • the above session monitoring method wherein the method further includes:
  • the service node device When the service node device receives the release request for the session, if the session requested to be released is the first session, after deleting the session, selecting another session in the IPv4 session and the IPv6 session as the First session.
  • a service node device including:
  • a session establishing unit configured to establish an IPv4 session and an IPv6 session for the IPoE dual-stack user
  • a session selection unit configured to select a session from the IPv4 session and the IPv6 session, to obtain a first session
  • a session monitoring unit configured to perform session monitoring on the first session to obtain a session monitoring result
  • a session processing unit configured to process the IPv4 session and the IPv6 session according to the session monitoring result.
  • the session processing unit is further configured to:
  • the session selection unit is further configured to: A session that is successfully established first is selected from the IPv4 session and the IPv6 session as the first session.
  • the foregoing service node device further includes:
  • a release processing unit configured to: when receiving the release request for the session, if the session requested to be released is the first session, after deleting the session, selecting another session in the IPv4 session and the IPv6 session as the Said the first session.
  • the serving node device monitors only one of the user's IPv4 session and the IPv6 session, and processes the IPv4 session and the IPv6 session of the user according to the session monitoring result, thereby reducing the service.
  • the processing pressure of the node device moreover, this processing method is more in line with the definition of the dual stack user.
  • FIG. 1 is a schematic diagram of a network topology in the prior art
  • FIG. 2 is a flowchart of a session monitoring method according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of a service node device according to an embodiment of the present invention.
  • Figure 5 is a flow chart of a second application example of the present invention.
  • Figure 6 is a flow chart of a third application example of the present invention. detailed description
  • an embodiment of the present invention provides a session monitoring method for a dual-stack user and a service node device.
  • the service node device monitors only one of the user's IPv4 session and the IPv6 session, and according to Session monitoring results for the user's IPv4 session and IPv6 session Processing, which can reduce the processing pressure of the service node device.
  • a session monitoring method includes the following steps:
  • the serving node device When the IPoE dual-stack user accesses the serving node device, the serving node device establishes an IPv4 session and an IPv6 session for the IPoE dual-stack user;
  • the service node device After the user accesses the service node device by using the IPOE based on the IPv4 protocol, the service node device establishes an IPv4 session for the user, and after the user accesses the service node device through the IPoE based on the IPv6 protocol, the service node device establishes for the user. IPv6 session.
  • the serving node device selects a session from the IPv4 session and an IPv6 session to obtain a first session.
  • the serving node device selects a previously established session from the user's IPv4 session and the IPv6 session as the first session. For example, if the user obtains an IPv4 address and successfully establishes an IPv4 session, and then obtains an IPv6 address, and then successfully establishes an IPv6 session, the service node device selects an IPv4 session as the first session and performs session monitoring for the IPv4 session.
  • the serving node device performs session monitoring on the first session to obtain a session monitoring result.
  • the session monitoring method may be monitored by an Address Resolution Protocol (ARP).
  • ARP Address Resolution Protocol
  • the session monitoring method may be a neighbor discovery process for an IPv6 address.
  • the session monitoring results include: The session is inactive and the session is active.
  • a session is inactive and generally means that the user is offline.
  • the serving node device processes the IPv4 session and an IPv6 session according to the session monitoring result.
  • Deleting the session when the session monitoring result indicates that the first session is in an inactive state The user's IPv4 session and IPv6 session; maintaining the IPv4 session and the IPv6 session of the user when the session monitoring result indicates that the first session is in an active state.
  • the user may also actively release the IP address.
  • the user host sends a release request to the service node device, and the service node device deletes the session after receiving the release request.
  • the service node device deletes the session after receiving the release request.
  • the service node device receives the release request from the user for the session, if the session requested to be released is the first session, after deleting the session, selecting another one of the user's IPv4 session and the IPv6 session. A session is used as the first session.
  • the service node device of the embodiment of the present invention is designed.
  • the service node device of the embodiment of the present invention includes:
  • a session establishing unit 10 configured to establish an IPv4 session and an IPv6 session for the IPoE dual-stack user;
  • the session selecting unit 20 configured to select a session from the IPv4 session and the IPv6 session, to obtain a first session; Selecting a successfully established session as the first session in the IPv4 session and the IPv6 session;
  • the session monitoring unit 30 is configured to perform session monitoring on the first session to obtain a session monitoring result.
  • the session monitoring method may be performed by using an ARP.
  • the session monitoring method may be an IPv6 address. Neighbor discovery process;
  • the session processing unit 40 is configured to process the IPv4 session and the IPv6 session according to the session monitoring result, where: when the session monitoring result indicates that the first session is in an inactive state, deleting the IPv4 session and IPv6 Session; maintaining the IPv4 session and the IPv6 session when the session monitoring result indicates that the first session is in an active state.
  • the user may also actively release the IP address.
  • the user host sends a release request to the service node device, and after the service node device receives the release request, the service node device deletes the session. Words.
  • after deleting a session if the deleted session is the session currently being monitored, monitoring of another session is initiated.
  • the service node device may further include: a release processing unit (not shown), configured to: when receiving the release request of the user for the session, if the session requested to be released is the first session, deleting the After the session, another one of the IPv4 session and the IPv6 session is selected as the first session.
  • a release processing unit (not shown), configured to: when receiving the release request of the user for the session, if the session requested to be released is the first session, deleting the After the session, another one of the IPv4 session and the IPv6 session is selected as the first session.
  • the IPoE dual-stack user obtains an IPv4 address and then obtains an IPv6 address.
  • the abnormality of the NIC of the dual-stack user causes the user to go offline.
  • the user obtains an IPv4 address, and the method for obtaining the IPv4 address may be a DHCP mode, and the service node device establishes an IPv4 session for the user.
  • the serving node device starts session monitoring for the IPv4 session of the user, and the method for monitoring the session may be monitored by ARP;
  • the user obtains an IPv6 address, and the serving node device establishes an IPv6 session for the user, and the service node device does not perform session monitoring on the IPv6 session, and associates the monitoring result of the IPv4 session with the IPv6 session;
  • a session in which the session monitoring result of one protocol is associated with another protocol means that the sessions of the two protocols are processed together according to the session monitoring result. That is, when the monitored session is in an inactive state, the user's IPv4 session and IPv6 session are deleted together; when the monitored session is active, the user's IPv4 session and IPv6 session are maintained.
  • the user is abnormally disconnected, and the IPv4 session monitoring of the user on the service node device fails, that is, the IPv4 session is inactive;
  • the serving node device processes the IPv4 session and the IPv6 session of the user, ie, deletes User's IPv4 session and IPv6 session.
  • the IPoE dual-stack user obtains an IPv6 address and then obtains an IPv4 address.
  • the abnormality of the NIC of the dual-stack user causes the user to go offline.
  • the user obtains an IPv6 address, and the IPv6 address can be obtained by using a DHCPv6 or SLAAC mode.
  • the service node device establishes an IPv6 session for the user.
  • the serving node device starts session monitoring for the IPv6 session of the user, and the session monitoring may be a neighbor discovery process for the IPv6 address;
  • the user obtains the IPv4 address again, and the service node device establishes an IPv4 session for the user, and the service node device does not perform session monitoring on the IPv4 session, and associates the monitoring result of the IPv6 session with the IPv4 session;
  • the user is abnormally disconnected, and the IPv6 session monitoring of the user on the service node device fails, that is, the IPv6 session is inactive;
  • the serving node device processes the IPv4 session and the IPv6 session of the user, that is, deletes the user's IPv4 session and the IPv6 session.
  • the IPoE dual-stack user obtains the IPv6 address and then obtains the IPv4 address. Then the user manually releases the IPv6 address and then manually obtains the IPv6 address.
  • the user obtains an IPv6 address, and the IPv6 address can be obtained by using a DHCPv6 or SLAAC mode.
  • the service node device establishes an IPv6 session for the user.
  • the serving node device starts session monitoring for the IPv6 session of the user, and the session monitoring may be a neighbor discovery process for the IPv6 address;
  • the user obtains an IPv4 address, and the service node device establishes an IPv4 session for the user.
  • the service node device does not perform session monitoring on the IPv4 session, and associates the monitoring result of the IPv6 session with the IPv4 session;
  • the user manually releases the IPv6 address, and the serving node device deletes the IPv6 session of the user, and starts session monitoring for the IPv4 session of the user.
  • the user manually applies for an IPv6 address, and the serving node device establishes an IPv6 session for the user.
  • the serving node device still performs session monitoring on the IPv4 session of the user, and associates the monitoring result of the IPv4 session with the IPv6 session.
  • the service node device monitors only one of the user's IPv4 session and the IPv6 session, and the IPv4 of the user is combined according to the session monitoring result. Sessions and IPv6 sessions are processed, which reduces the processing pressure of the service node device; moreover, this processing is more in line with the definition of dual-stack users.

Landscapes

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

Abstract

本发明提供一种会话监控方法及服务节点设备。所述会话监控方法包括:当以太网上的IP协议IPoE双栈用户接入服务节点设备时,所述服务节点设备为该IPoE双栈用户建立IPv4会话和IPv6会话;所述服务节点设备从所述IPv4会话和IPv6会话中选择一种会话,得到第一会话;所述服务节点设备对所述第一会话进行会话监控,得到会话监控结果;所述服务节点设备根据所述会话监控结果处理所述IPv4会话和IPv6会话。采用本发明能够降低服务节点设备的处理压力。

Description

一种会话监控方法 艮务节点设备 技术领域
本发明涉及会话监控技术, 尤其涉及一种双栈用户的会话监控方法及 服务节点设备。 背景技术
参照图 1 , 现有的宽带接入网络的基本组网包括: 用户主机通过接入节 点 ( Access Node, AN )设备接入到服务节点 ( Service Node , SN )设备, 在 SN设备获取 IP地址和运营商分配的用户策略。 在用户上线的同时, SN 设备会建立相关的用户会话表, 并且通过不同的方式对用户进行保活, 以 便及时删除异常下线却占用设备系统资源的用户。
随着 IPv4地址的资源耗尽, IPv6接入的应用将越来越普遍, 但是目前 网络仍然是以 IPv4网络为主, 因此 IPv4网络转型到 IPv6网络存在着过渡 期, 在这个过渡期内, 一台主机同时拥有 IPv4/IPv6地址的双栈用户成为宽 带接入不可避免的接入类型。
基于 IPv4的以太网上的 IP协议( IP over Ethernet, IPoE )接入使用动 态主机设置协议 ( Dynamic Host Configuration Protocol, DHCP )接入; 基 于 IPv6的 IPoE接入分为 DHCPv6接入、 无状态地址自动配置 (Stateless Address Autoconfiguration , SLAAC ) 接入等以太网上的点对点协议 ( Point-to-Point Protocol over Ethernet, PPPoE ) 的接入方式。 IPoE的双栈 接入会话分为 DHCP和 DHCPv6同时接入、 DHCP和 SLAAC同时接入这 两种类别。
现有技术中, SN设备对 IPoE双栈接入后的 IPv4会话和 IPv6会话是单 独进行会话监控的, 即当一台主机同时获取 IPv4和地址 IPv6时, SN分别 对这个 IPoE双栈用户的 IPv6地址和 IPv4地址进行会话监控, 这种实现方 式有如下缺陷:
SN设备需要对同一个用户的 IPv4会话和 IPv6会话分别进行监控, 这 不符合双栈用户的定义, 正比如 PPPoE的双栈一样, 双栈用户应该算一个 用户会话;
IP会话监控主要是为了防止主机异常离线后资源未被释放, 如果这个 主机异常离线的话, 那么这个主机的 IPv4会话和 IPv6会话都会中断, 因此 对同一用户主机同时进行 IPv4会话和 IPv6会话监控是一种重复劳动,无形 之中增加了 SN设备的处理压力, 具体来说,对双栈用户接入按照现有方式 的处理压力会是单栈用户的两倍。 发明内容
本发明所要解决的技术问题是提供一种会话监控方法及服务节点设 备, 以降低服务节点设备的处理压力。
为解决上述技术问题, 本发明提供技术方案如下:
一种会话监控方法, 包括:
当 IPoE双栈用户接入服务节点设备时, 所述服务节点设备为该 IPoE 双栈用户建立 IPv4会话和 IPv6会话;
所述服务节点设备从所述 IPv4会话和 IPv6会话中选择一种会话,得到 第一会话;
所述服务节点设备对所述第一会话进行会话监控, 得到会话监控结果; 所述服务节点设备根据所述会话监控结果处理所述 IPv4会话和 IPv6 会话。
其中, 所述服务节点设备根据所述会话监控结果处理所述 IPv4会话和 IPv6会话包括:
当所述会话监控结果指示所述第一会话处于非活跃状态时, 删除所述 IPv4会话和 IPv6会话;
当所述会话监控结果指示所述第一会话处于活跃状态时, 保持所述 IPv4会话和 IPv6会话。
其中,所述服务节点设备从所述 IPv4会话和 IPv6会话中选择一种会话, 得到第一会话, 包括:
所述服务节点设备从所述 IPv4会话和 IPv6会话中选择先成功建立的会 话作为所述第一会话。
上述的会话监控方法, 其中, 还包括:
所述服务节点设备接收到对会话的释放请求时, 如果请求释放的会话 为所述第一会话, 则在删除该会话后, 选择所述 IPv4会话和 IPv6会话中的 另外一种会话作为所述第一会话。
一种服务节点设备, 包括:
会话建立单元, 用于为 IPoE双栈用户建立 IPv4会话和 IPv6会话; 会话选择单元, 用于从所述 IPv4会话和 IPv6会话中选择一种会话,得 到第一会话;
会话监控单元, 用于对所述第一会话进行会话监控, 得到会话监控结 果;
会话处理单元, 用于根据所述会话监控结果处理所述 IPv4会话和 IPv6 会话。
其中, 所述会话处理单元进一步用于:
当所述会话监控结果指示所述第一会话处于非活跃状态时, 删除所述 IPv4会话和 IPv6会话;
当所述会话监控结果指示所述第一会话处于活跃状态时, 保持所述 IPv4会话和 IPv6会话。
其中, 所述会话选择单元进一步用于: 从所述 IPv4会话和 IPv6会话中选择先成功建立的会话作为所述第一会 话。
上述的服务节点设备还包括:
释放处理单元, 用于接收到对会话的释放请求时, 如果请求释放的会 话为所述第一会话, 则在删除该会话后,选择所述 IPv4会话和 IPv6会话中 的另外一种会话作为所述第一会话。
与现有技术相比, 本发明的有益效果是:
对于 IPoE双栈用户, 服务节点设备只对用户的 IPv4会话和 IPv6会话 中的一种会话进行监控, 并根据会话监控结果一并对该用户的 IPv4会话和 IPv6会话进行处理, 这样就能够降低服务节点设备的处理压力; 而且, 这 种处理方式更加符合双栈用户的定义。 附图说明
图 1是现有技术中的网络拓朴示意图;
图 2是本发明实施例的会话监控方法流程图;
图 3是本发明实施例的服务节点设备的结构图;
图 4是本发明第一应用实例的流程图;
图 5是本发明第二应用实例的流程图;
图 6是本发明第三应用实例的流程图。 具体实施方式
如果主机异常离线的话,那么这个主机的 IPv4会话和 IPv6会话都会中 断, 因此对同一用户主机可以只对 IPv4会话或者 IPv6会话进行会话监控。 基于此, 本发明实施例提供一种双栈用户的会话监控方法及服务节点设备, 对于 IPoE双栈用户, 服务节点设备只对用户的 IPv4会话和 IPv6会话中的 一种会话进行监控,并根据会话监控结果对该用户的 IPv4会话和 IPv6会话 进行处理, 这样就能够降低服务节点设备的处理压力。
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图及具 体实施例对本发明进行详细描述。
参照图 2, 本发明实施例的会话监控方法, 包括如下步骤:
201 : 当 IPoE双栈用户接入服务节点设备时, 所述服务节点设备为该 IPoE双栈用户建立 IPv4会话和 IPv6会话;
当用户通过基于 IPv4协议 IPoE接入到服务节点设备后,所述服务节点 设备为用户建立 IPv4会话, 当用户通过基于 IPv6协议的 IPoE接入到服务 节点设备后, 所述服务节点设备为用户建立 IPv6会话。
202:所述服务节点设备从所述 IPv4会话和 IPv6会话中选择一种会话, 得到第一会话;
优选地,所述服务节点设备从用户的 IPv4会话和 IPv6会话中选择先成 功建立的会话作为所述第一会话。 例如, 用户先获取 IPv4地址, 并成功建 立 IPv4会话, 后获取 IPv6地址, 然后成功建立 IPv6会话, 那么, 服务节 点设备选择 IPv4会话作为所述第一会话, 并针对 IPv4会话进行会话监控。
203: 所述服务节点设备对所述第一会话进行会话监控, 得到会话监控 结果;
对于 IPv4会话, 会话监控的方法可以是通过地址解析协议(Address Resolution Protocol, ARP )监控; 对于 IPv6会话, 会话监控的方法可以是 针对 IPv6地址的邻居发现过程。
会话监控结果包括: 会话处于非活跃状态和会话处于活跃状态。 会话 处于非活跃状态一般代表用户异常离线。
204: 所述服务节点设备根据所述会话监控结果处理所述 IPv4会话和 IPv6会话。
当所述会话监控结果指示所述第一会话处于非活跃状态时, 删除所述 用户的 IPv4会话和 IPv6会话; 当所述会话监控结果指示所述第一会话处于 活跃状态时, 保持所述用户的 IPv4会话和 IPv6会话。
另外, 用户还有可能主动释放 IP地址, 此时, 用户主机向服务节点设 备发送对会话的释放请求, 服务节点设备收到释放请求后, 会删除这个会 话。 在本发明实施例中, 在删除一个会话后, 如果删除的会话是当前正在 监控的会话, 则启动对另一个会话的监控。
即, 所述服务节点设备接收到所述用户对会话的释放请求时, 如果请 求释放的会话为所述第一会话, 则在删除该会话后, 选择用户的 IPv4会话 和 IPv6会话中的另外一种会话作为所述第一会话。
按照本发明实施例提供的双栈用户的会话监控方法, 设计出本发明实 施例的服务节点设备。
参照图 3 , 本发明实施例的服务节点设备包括:
会话建立单元 10, 用于为 IPoE双栈用户建立 IPv4会话和 IPv6会话; 会话选择单元 20 , 用于从所述 IPv4会话和 IPv6会话中选择一种会话 , 得到第一会话; 优选地,从所述 IPv4会话和 IPv6会话中选择先成功建立的 会话作为所述第一会话;
会话监控单元 30, 用于对所述第一会话进行会话监控, 得到会话监控 结果, 对于 IPv4会话, 会话监控的方法可以是通过 ARP监控, 对于 IPv6 会话, 会话监控的方法可以是针对 IPv6地址的邻居发现过程;
会话处理单元 40, 用于根据所述会话监控结果处理所述 IPv4会话和 IPv6会话, 具体为: 当所述会话监控结果指示所述第一会话处于非活跃状 态时,删除所述 IPv4会话和 IPv6会话; 当所述会话监控结果指示所述第一 会话处于活跃状态时, 保持所述 IPv4会话和 IPv6会话。
另外, 用户还有可能主动释放 IP地址, 此时, 用户主机向服务节点设 备发送对会话的释放请求, 服务节点设备收到释放请求后, 会删除这个会 话。 在本发明实施例中, 在删除一个会话后, 如果删除的会话是当前正在 监控的会话, 则启动对另一个会话的监控。
即, 所述服务节点设备还可以包括: 释放处理单元(图未示), 用于接 收到所述用户对会话的释放请求时, 如果请求释放的会话为所述第一会话, 则在删除该会话后,选择所述 IPv4会话和 IPv6会话中的另外一种会话作为 所述第一会话。
以下给出本发明的三个应用实例。
第一应用实例
IPoE双栈用户先获取 IPv4地址再获取 IPv6地址, 双栈用户的网卡异 常导致用户异常下线。
参照图 4, 包括如下步骤:
401 : 用户先获取 IPv4地址, 这个 IPv4地址获取的方式可以是 DHCP 方式, 服务节点设备为用户建立 IPv4会话;
402:服务节点设备针对用户的这个 IPv4会话开始会话监控,这个会话 监控的方法可以是通过 ARP监控;
403: 用户再获取 IPv6地址, 服务节点设备为用户建立 IPv6会话, 服 务节点设备不对这个 IPv6会话进行会话监控,并将 IPv4会话的监控结果关 联到 IPv6会话;
在本发明中, 所谓将一种协议的会话监控结果关联到另一种协议的会 话是指, 根据会话监控结果对这两个协议的会话一并进行处理。 即, 当监 控的会话处于非活跃状态时,一并删除用户的 IPv4会话和 IPv6会话; 当监 控的会话处于活跃状态时, 保持用户的 IPv4会话和 IPv6会话。
404: 用户异常断线, 服务节点设备上用户的 IPv4会话监控失败, 即, IPv4会话不活跃;
405: 服务节点设备处理这个用户的 IPv4会话和 IPv6会话, 即, 删除 用户的 IPv4会话和 IPv6会话。
第二应用实例
IPoE双栈用户先获取 IPv6地址再获取 IPv4地址, 双栈用户的网卡异 常导致用户异常下线。
参照图 5 , 包括如下步骤:
501 :用户先获取 IPv6地址,这个 IPv6地址的获取方式可以是 DHCPv6 或者 SLAAC方式, 服务节点设备为用户建立 IPv6会话;
502:服务节点设备针对用户的这个 IPv6会话开始会话监控,这个会话 监控可以是针对 IPv6地址的邻居发现过程;
503: 用户再获取 IPv4地址, 服务节点设备为用户建立 IPv4会话, 服 务节点设备不对这个 IPv4会话进行会话监控,并将 IPv6会话的监控结果关 联到 IPv4会话;
504: 用户异常断线, 服务节点设备上用户的 IPv6会话监控失败, 即, IPv6会话不活跃;
505: 服务节点设备处理这个用户的 IPv4会话和 IPv6会话, 即, 删除 用户的 IPv4会话和 IPv6会话。
第三应用实例
IPoE双栈用户先获取 IPv6地址再获取 IPv4地址, 随后用户手动释放 IPv6地址, 再手动获取 IPv6地址。
参照图 6, 包括如下步骤:
601 :用户先获取 IPv6地址,这个 IPv6地址的获取方式可以是 DHCPv6 或者 SLAAC方式, 服务节点设备为用户建立 IPv6会话;
602:服务节点设备针对用户的这个 IPv6会话开始会话监控,这个会话 监控可以是针对 IPv6地址的邻居发现过程;
603: 用户再获取 IPv4地址, 服务节点设备为用户建立 IPv4会话, 服 务节点设备不对这个 IPv4会话进行会话监控,并将 IPv6会话的监控结果关 联到 IPv4会话;
604: 用户手动释放 IPv6地址, 服务节点设备删除用户的这个 IPv6会 话, 并启动针对这个用户的 IPv4会话的会话监控;
605: 用户手动申请 IPv6地址, 服务节点设备为用户建立 IPv6会话, 服务节点设备仍然对用户的 IPv4会话进行会话监控,并将 IPv4会话的监控 结果关联到 IPv6会话。
综上所述, 在本发明实施例中, 对于 IPoE双栈用户, 服务节点设备只 对用户的 IPv4会话和 IPv6会话中的一种会话进行监控,并根据会话监控结 果一并对该用户的 IPv4会话和 IPv6会话进行处理,这样就能够降低服务节 点设备的处理压力; 而且, 这种处理方式更加符合双栈用户的定义。
最后应当说明的是, 以上实施例仅用以说明本发明的技术方案而非限 制, 本领域的普通技术人员应当理解, 可以对本发明的技术方案进行修改 或者等同替换, 而不脱离本发明技术方案的精神范围, 其均应涵盖在本发 明的权利要求范围当中。

Claims

权利要求书
1、 一种会话监控方法, 其特征在于, 包括:
当以太网上的 IP协议 IPoE双栈用户接入服务节点设备时,所述服务节 点设备为该 IPoE双栈用户建立 IPv4会话和 IPv6会话;
所述服务节点设备从所述 IPv4会话和 IPv6会话中选择一种会话,得到 第一会话;
所述服务节点设备对所述第一会话进行会话监控, 得到会话监控结果; 所述服务节点设备根据所述会话监控结果处理所述 IPv4会话和 IPv6 会话。
2、 如权利要求 1所述的会话监控方法, 其特征在于, 所述服务节点设 备根据所述会话监控结果处理所述 IPv4会话和 IPv6会话包括:
当所述会话监控结果指示所述第一会话处于非活跃状态时, 删除所述 IPv4会话和 IPv6会话;
当所述会话监控结果指示所述第一会话处于活跃状态时, 保持所述 IPv4会话和 IPv6会话。
3、 如权利要求 1所述的会话监控方法, 其特征在于, 所述服务节点设 备从所述 IPv4会话和 IPv6会话中选择一种会话, 得到第一会话, 包括: 所述服务节点设备从所述 IPv4会话和 IPv6会话中选择先成功建立的会 话作为所述第一会话。
4、 如权利要求 1所述的会话监控方法, 其特征在于, 还包括: 所述服务节点设备接收到对会话的释放请求时, 如果请求释放的会话 为所述第一会话, 则在删除该会话后, 选择所述 IPv4会话和 IPv6会话中的 另外一种会话作为所述第一会话。
5、 一种服务节点设备, 其特征在于, 包括:
会话建立单元, 用于为 IPoE双栈用户建立 IPv4会话和 IPv6会话; 会话选择单元, 用于从所述 IPv4会话和 IPv6会话中选择一种会话,得 到第一会话;
会话监控单元, 用于对所述第一会话进行会话监控, 得到会话监控结 果;
会话处理单元, 用于根据所述会话监控结果处理所述 IPv4会话和 IPv6 会话。
6、 如权利要求 5所述的服务节点设备, 其特征在于, 所述会话处理单 元进一步用于:
当所述会话监控结果指示所述第一会话处于非活跃状态时, 删除所述 IPv4会话和 IPv6会话;
当所述会话监控结果指示所述第一会话处于活跃状态时, 保持所述 IPv4会话和 IPv6会话。
7、 如权利要求 5所述的服务节点设备, 其特征在于, 所述会话选择单 元进一步用于:
从所述 IPv4会话和 IPv6会话中选择先成功建立的会话作为所述第一会 话。
8、 如权利要求 5所述的服务节点设备, 其特征在于, 还包括: 释放处理单元, 用于接收到对会话的释放请求时, 如果请求释放的会 话为所述第一会话, 则在删除该会话后,选择所述 IPv4会话和 IPv6会话中 的另外一种会话作为所述第一会话。
PCT/CN2011/075853 2010-09-02 2011-06-17 一种会话监控方法及服务节点设备 WO2012028011A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010271842.2A CN101938386B (zh) 2010-09-02 2010-09-02 一种会话监控方法及服务节点设备
CN201010271842.2 2010-09-02

Publications (1)

Publication Number Publication Date
WO2012028011A1 true WO2012028011A1 (zh) 2012-03-08

Family

ID=43391531

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075853 WO2012028011A1 (zh) 2010-09-02 2011-06-17 一种会话监控方法及服务节点设备

Country Status (2)

Country Link
CN (1) CN101938386B (zh)
WO (1) WO2012028011A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938386B (zh) * 2010-09-02 2014-07-16 中兴通讯股份有限公司 一种会话监控方法及服务节点设备
CN102904863A (zh) * 2011-07-28 2013-01-30 中兴通讯股份有限公司 一种IPoE双栈用户主机接入控制方法及网关
CN105704043A (zh) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 重新协商处理方法及装置
CN107911494B (zh) * 2017-11-06 2020-11-27 深圳市共进电子股份有限公司 接入IPv6网络的方法、装置、计算机设备以及存储介质
CN111343295B (zh) * 2020-02-18 2022-09-27 支付宝(杭州)信息技术有限公司 用于确定IPv6地址的风险的方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008134980A1 (en) * 2007-04-30 2008-11-13 Huawei Technologies Co., Ltd. Method and apparatus for ip mobility management selection
CN101312456A (zh) * 2007-05-21 2008-11-26 华为技术有限公司 对订户会话进行存活监控的方法及系统
CN101938386A (zh) * 2010-09-02 2011-01-05 中兴通讯股份有限公司 一种会话监控方法及服务节点设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040082655A (ko) * 2003-03-19 2004-09-30 삼성전자주식회사 이중 스택 변환 메커니즘을 이용한 모바일 아이피 통신시스템 및 방법
CN100505754C (zh) * 2005-01-14 2009-06-24 中兴通讯股份有限公司 一种实现动态4-in-6隧道建立的方法
CN101610285B (zh) * 2009-06-15 2012-10-31 北京邮电大学 IPv4与IPv6共存网络中的P2P通信方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008134980A1 (en) * 2007-04-30 2008-11-13 Huawei Technologies Co., Ltd. Method and apparatus for ip mobility management selection
CN101312456A (zh) * 2007-05-21 2008-11-26 华为技术有限公司 对订户会话进行存活监控的方法及系统
CN101938386A (zh) * 2010-09-02 2011-01-05 中兴通讯股份有限公司 一种会话监控方法及服务节点设备

Also Published As

Publication number Publication date
CN101938386A (zh) 2011-01-05
CN101938386B (zh) 2014-07-16

Similar Documents

Publication Publication Date Title
US8098659B2 (en) Communication apparatus, communication system including the same, and method for setting IP address of communication apparatus
RU2602971C2 (ru) Способ динамического конфигурирования ipv6 для домашнего шлюза
JP4331154B2 (ja) 情報処理システム、トンネル通信装置、及びトンネル通信方法
US20090275328A1 (en) Methods and apparatus for handling wireless roaming among and across wireless area networks
JP2004328027A (ja) 中継装置
JP2004363897A (ja) Ipマルチキャスト配信システム、ストリーミングデータ配信方法、及びそのプログラム
WO2015003566A1 (zh) 组播域名系统中报文传输的方法、装置及系统
JP3675800B2 (ja) 音声通話ソフトウェア、及び音声通話装置
WO2000079765A1 (en) Reverse tunneling methods and apparatus for use with private computer networks
JP2010502067A (ja) ネットワークにアクセスするためにインターフェースを特定し選択する方法および装置
WO2009117963A1 (zh) 地址配置方法、装置和系统
US9769113B1 (en) Socket-based internet protocol for wireless networks
WO2012028011A1 (zh) 一种会话监控方法及服务节点设备
WO2017088101A1 (zh) 一种网络连接信息获取方法及路由器
CN101197811B (zh) 提高代理方式下动态主机配置协议中服务器可靠性的方法
JP2004064751A (ja) ネットワークアドレス変換システムおよびその方法
CN101325587A (zh) 一种dhcp会话监测方法
WO2006116911A1 (fr) Terminal d’acces ppp, dispositif de service d’acces et procede du terminal obtenant l’adresse de serveur du fournisseur
JPH1117726A (ja) Dns機能を内蔵したipネットワークの結合制御装置
WO2011140954A1 (zh) 远程ip地址获取方法及设备
JP2010062757A (ja) Dnsプロキシ装置及びdns中継方法
JP2005033250A (ja) 中継装置とポートフォワード設定方法
JP4049123B2 (ja) 電子機器及び制御方法
WO2012034433A1 (zh) 会话监控处理方法和监控设备
WO2014090194A1 (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: 11821037

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

Country of ref document: EP

Kind code of ref document: A1