WO2012100492A1 - 一种在自动检测报文过程中防止抖动的方法和网元设备 - Google Patents

一种在自动检测报文过程中防止抖动的方法和网元设备 Download PDF

Info

Publication number
WO2012100492A1
WO2012100492A1 PCT/CN2011/075948 CN2011075948W WO2012100492A1 WO 2012100492 A1 WO2012100492 A1 WO 2012100492A1 CN 2011075948 W CN2011075948 W CN 2011075948W WO 2012100492 A1 WO2012100492 A1 WO 2012100492A1
Authority
WO
WIPO (PCT)
Prior art keywords
atm
encapsulation mode
changed
packet
encapsulation
Prior art date
Application number
PCT/CN2011/075948
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 WO2012100492A1 publication Critical patent/WO2012100492A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM

Definitions

  • the present invention relates to the field of network communication, and in particular, to a method and a network element device for preventing jitter in automatically detecting a package of ATM and Ethernet.
  • ATM Asynchronous Transfer Mode
  • DSL Digital Subscriber Line
  • dialing mode a means for the network element to automatically determine the DSL (Digital Subscriber Line) user packet encapsulation mode and dialing mode by parsing the packet.
  • DSL Digital Subscriber Line
  • the purpose of automatically configuring the user port dialing mode on the NE is to enable the user to configure the NE device less frequently, and modify the user configuration flexibly without modifying the NE.
  • the packets of the two encapsulation modes of ATM and Ethernet may be alternately transmitted due to the instability of the UE, and the jitter may occur.
  • the port status needs to be reset, which may result in short network interruptions and the need to redial. Therefore, there is a need to have a corresponding method to better avoid the effects of jitter.
  • the object of the present invention is to provide a method and a network element device for preventing jitter during automatic packet detection, so as to effectively avoid jitter in the automatic identification process of ATM and Ethernet packages.
  • the present invention provides a method for preventing jitter during packet detection, including:
  • the encapsulation mode of the packet sent by the peer end changes, and it is detected that the current link does not support the changed packet encapsulation mode, it is determined that the encapsulation mode received in the first predetermined time period is sent. Whether the number of the changed packets reaches the threshold. If yes, the current packet encapsulation mode is changed to the changed packet encapsulation mode.
  • the step of detecting that the encapsulation mode of the packet sent by the peer end changes comprises: detecting that the encapsulation mode of the packet sent by the peer end is changed from the Ethernet encapsulation mode to the ATM;
  • the step of detecting that the current link does not support the changed packet encapsulation mode includes: sending an ATM OAM ring report message to the peer end, and if the ATM OAM loopback response message is not received within the second predetermined time period, Determine that the current link does not support ATM.
  • the step of detecting that the encapsulation mode of the packet sent by the peer end is changed includes: detecting that the encapsulation mode of the packet sent by the peer end is changed from ATM to Ethernet encapsulation mode;
  • the steps of detecting that the current link does not support the changed packet encapsulation mode include: sending to the peer end
  • the ATM OAM loopback response packet is received within the second predetermined time period, it is determined that the current link does not support the Ethernet encapsulation mode.
  • the OAM type field in the ATM OAM loopback message is 0001, and the function type field is 1000.
  • the present invention further provides a network element device, including: a detection module, a determination module, and a modification module, where
  • the detecting module is configured to: if it is detected that the encapsulation mode of the packet sent by the peer end changes, triggering the determining module;
  • the determining module is configured to: detect whether the current link supports the changed packet encapsulation mode, and if not, determine whether the number of packets that have changed in the encapsulation mode received in the first predetermined time period reaches a threshold. The value, if it is reached, triggers the modification module;
  • the modifying module is configured to: modify the current packet encapsulation mode to the changed packet encapsulation mode.
  • the determining module includes: a sending unit, a receiving unit, and a determining unit, where
  • the sending unit is configured to: when the encapsulation mode of the packet sent by the peer end is changed from the Ethernet encapsulation mode to the ATM, send the ATM OAM loopback message to the peer end;
  • the receiving unit is configured to: if the ATM OAM loopback response message is not received within the second predetermined time period, triggering the determining unit;
  • the determining unit is configured to determine that the current link does not support ATM.
  • the determining module includes: a sending unit, a receiving unit, and a determining unit; wherein
  • the sending unit is configured to: when the encapsulation mode of the packet sent by the peer end changes from ATM to Ethernet encapsulation mode, send an ATM OAM loopback message to the peer end;
  • the receiving unit is configured to: if the ATM OAM loopback response message is received within the second predetermined time period, triggering the determining unit;
  • the determining unit is configured to determine that the current link does not support the Ethernet encapsulation mode.
  • the present invention provides a method and a network element device for preventing jitter during automatic packet detection mode, which can effectively avoid the impact of jitter in the automatic identification process of ATM and Ethernet encapsulation modes.
  • FIG. 1 is a schematic diagram of a network element device according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for preventing jitter in a process of detecting a message according to the present invention
  • FIG. 3 is a flowchart of a method for preventing jitter in a process of detecting a packet according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a format of an ATM OAM Loopback cell
  • FIG. 5 is a schematic diagram of a format of a function pending field of an ATM OAM Loopback cell
  • FIG. 6 and FIG. 7 are flowcharts of a method for preventing jitter in a packet detection process according to an application example of the present invention.
  • the present invention provides a method for preventing jitter during the detection process without violating existing protocols and applications.
  • the network element device of this embodiment includes: a detection module, a determination module, and a modification module, where
  • the detecting module is configured to: if it detects that the encapsulation mode of the packet sent by the peer end changes, triggering the judging module;
  • the determining module is configured to: detect whether the current link supports the changed packet encapsulation mode, and if not, determine whether the number of packets that have received the encapsulation mode changes in the first predetermined time period reaches a threshold value. If it is reached, trigger the modification module;
  • the modifying module is configured to: modify the current packet encapsulation mode to the changed packet encapsulation mode.
  • the detecting module detects that the encapsulation mode of the packet sent by the peer end changes, which may be changed from an Ethernet encapsulation mode to an ATM, or from an ATM to an Ethernet encapsulation mode.
  • the determining module may further include:
  • a sending unit configured to send an ATM 0 AM loopback message to the opposite end when the encapsulation mode of the packet changes
  • a receiving unit configured to receive an ATM OAM loopback response message within a second predetermined time period
  • the determining unit is configured to determine whether the current link supports the changed packet encapsulation mode according to whether the receiving unit receives the ATM OAM loopback response message.
  • FIG. 2 is a flowchart of a method for preventing jitter in a packet detection process according to the present invention. As shown in FIG. 2, the method includes the following steps:
  • S20 Determine whether the number of packets that have been changed in the encapsulation mode that is received in the first predetermined time period reaches a threshold. If yes, modify the current packet encapsulation mode to the changed packet. Package mode.
  • the embodiment of the present invention is an example of a system that supports automatic detection of whether the peer end is an ATM package or an Ethernet package, and automatically supports the corresponding package, for example, at both ends of the connection (the local end and the opposite end), in the communication process,
  • the end detects that the packet sent by the peer is ATM-encapsulated, and the local end will adapt to the ATM encapsulation.
  • the local end will send the ATM encapsulated packet until the peer is found to be transmitting the Ethernet encapsulation. 4.
  • the local end will adapt to the Ethernet encapsulation, and in the subsequent communication process, the local end will send the Ethernet encapsulation.
  • the text, until the end of the article is sent in the ATM package.
  • a method for preventing jitter in automatically detecting an ATM package and an Ethernet package process includes the following steps:
  • the local end detects whether the encapsulation mode of the packet changes according to the content of the packet;
  • the change is recorded, for example, from Ethernet encapsulation to ATM encapsulation, or from ATM encapsulation to Ethernet encapsulation. Then send an ATM OAM Loopback 4 to the peer.
  • the ATM OAM cell format is shown in Figure 4, including: ATM cell header (5 bytes), OAM type (4 bits), function type (4 bits), function pending field (45 bytes), reserved field (6) Fields such as Bit) and CRC (Cyclic Redundancy Check) fields (10 bits).
  • the format of the function pending field of the ATM OAM Loopback cell includes the loopback ID (identification) (1 byte), the associated flag (4 bytes), and the LB (loopback) location ID (optional). (16 bytes) and source ID (optional) (16 bytes).
  • the OAM (Operation Administration Management) type field is 0001 and the function type field is 1000.
  • the waiting time can be set, so that the maximum waiting time can be as short as possible. If the loopback replay text is received within the limited time, the process goes to step S304; Upon receipt, proceed to step 305.
  • the current link supports ATM encapsulation. If the change of the previously recorded encapsulation mode is changed from Ethernet encapsulation to ATM encapsulation, then the direct encapsulation mode of the local end is ATM packaging, and ToEthCounter (Ethernet Encapsulation Counter) and ToAtmCounter (ATM Encapsulation Counter) are set to 0, and corresponding Configuration; If the change of the encapsulation mode recorded in the previous record is changed from ATM to Ethernet encapsulation, first increase the ToEthCounter counter by 1, and then determine whether the ToEthCounter has reached the threshold. If it does not, continue to run at the ATM. If it is reached, it will be ToEthCounter. And ToAtmCounter is set to 0, and the current mode is modified to Ethernet encapsulation mode. The purpose of the counter is to prevent the peer from modifying the encapsulation mode to Ethernet but to support ATM OAM Loopback.
  • ToEthCounter Ethernet Encapsulation Counter
  • ToAtmCounter ATM Encapsulation
  • Step 401 The peer encapsulation mode is changed to an Ethernet encapsulation, and an Ethernet encapsulated packet is sent.
  • Step 402 The local end detects the change of the encapsulation mode, and sends an ATM OAM Loopback request packet.
  • Step 403 The ATM OAM Loopback request is not returned because the peer end switches to the Ethernet encapsulation mode.
  • the local end waits for the ATM OAM loopback replay timeout, and then the local end sets the encapsulation mode to Ethernet encapsulation;
  • Step 404 The local end and the peer end are both in the Ethernet encapsulation mode. At this time, the peer end encapsulates the encapsulation mode into an ATM encapsulation mode, and starts to send the ATM encapsulation packet.
  • Step 405 The local end detects that the packet encapsulation mode is switched from the Ethernet encapsulation to the ATM encapsulation, and sends an ATM OAM Loopback request message to the peer end.
  • Step 406 Receive the ATM OAM Loopback replay message replied by the peer end within the timeout period, and the local end switching encapsulation mode is ATM;
  • Step 501 The local end and the peer end are both running in the ATM encapsulation mode. At this time, the peer end sends an Ethernet encapsulated packet, but the peer end is still running in the ATM encapsulation mode.
  • Step 502 The local end detects that the packet encapsulation mode is switched from the ATM to the Ethernet mode, and then sends an ATM OAM Loopback request message to the peer end.
  • Step 503 The peer end is still running in the ATM, so after receiving the ATM OAM Loopback request, the peer will reply to the ATM OAM Loopback replay. After receiving the text, the local end will still run in the ATM encapsulation mode.
  • the present invention can effectively avoid the influence of jitter in the automatic identification process of ATM and Ethernet encapsulation modes.

Landscapes

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

Abstract

本发明提供一种在自动检测报文过程中防止抖动的方法和网元设备,该方法包括:若检测到对端发送的报文的封装模式发生变化,且检测到当前链路不支持变化后的报文封装模式,则判断在第一预定时间段内接收到的封装模式发生变化的报文的个数是否达到门限值,若达到,则将报文封装模式修改为所述变化后的报文封装模式。根据本发明可以有效避免ATM和以太网封装自动识别过程中出现抖动。

Description

一种在自动检测报文过程中防止抖动的方法和网元设备
技术领域
本发明涉及网络通信领域, 具体而言, 是一种实现在自动检测 ATM和 以太网的封装的过程中, 防止抖动的方法和网元设备。
背景技术
随着以太网的广泛应用, 对用户以及设备自动管理的需求越来越多, 要 求也越来越高。 ATM ( Asynchronous Transfer Mode, 异步传输模式)封装和 以太网封装自动检测是网元通过解析报文来自动判断 DSL ( Digital Subscriber Line, 数字用户线路)用户报文封装方式以及拨号方式的一种手段, 达到自 动配置网元上用户端口拨号方式等的目的, 使得用户在使用的时候需要对网 元设备进行的配置更少, 并且可以灵活修改用户配置, 而不需要对网元进行 改动。
但在自动检测 ATM和以太网的封装方式的过程中, 可能由于用户端不 稳定等情况,导致出现 ATM和以太网两种封装方式的报文交替发送,从而出 现抖动的情况。 在出现抖动情况时, 端口状态需要重置, 可能导致网络短时 间中断以及需要重新拨号等情况。 因此需要有对应的方法去较好地避免抖动 产生的影响。
发明内容
本发明的目的是提供一种在自动检测报文过程中防止抖动的方法和网元 设备, 以有效避免 ATM和以太网封装自动识别过程中出现抖动。
为了解决上述技术问题, 本发明提供了一种防止检测报文过程中抖动的 方法, 包括:
若检测到对端发送的报文的封装模式发生变化, 且检测到当前链路不支 持变化后的报文封装模式, 则判断在第一预定时间段内接收到的封装模式发 生变化的报文的个数是否达到门限值, 若达到, 则将当前报文封装模式修改 为所述变化后的报文封装模式。
检测到对端发送的报文的封装模式发生变化的步骤包括: 检测到对端发 送的报文的封装模式从以太网封装模式转变为 ATM;
检测到当前链路不支持变化后的报文封装模式的步骤包括: 向所述对端 发送 ATM OAM 环回报文, 若在第二预定时间段内未接收到 ATM OAM 环 回响应报文 , 则判断当前链路不支持 ATM。
检测到对端发送的报文的封装模式发生变化的步骤包括: 检测到对端发 送的报文的封装模式从 ATM转变为以太网封装模式;
检测到当前链路不支持变化后的报文封装模式的步骤包括: 向对端发送
ATM OAM环回报文, 若在第二预定时间段内接收到 ATM OAM环回响应 报文, 则判断当前链路不支持以太网封装模式。
所述 ATM OAM 环回 艮文中的 OAM类型字段为 0001 ,功能类型字段为 1000。
为了解决上述问题, 本发明还提供了一种网元设备, 包括: 检测模块、 判断模块和修改模块, 其中,
所述检测模块设置成: 若检测到对端发送的报文的封装模式发生变化, 则触发判断模块;
所述判断模块设置成: 检测当前链路是否支持变化后的报文封装模式, 如不支持, 判断在第一预定时间段内接收到的封装模式发生变化的报文的个 数是否达到门限值, 若达到, 则触发修改模块;
所述修改模块设置成: 将当前报文封装模式修改为所述变化后的报文封 装模式。
所述判断模块包括: 发送单元、 接收单元和判断单元, 其中,
发送单元设置成: 在所述对端发送的报文的封装模式从以太网封装模式 转变为 ATM时, 向所述对端发送 ATM OAM 环回艮文;
接收单元设置成:若在第二预定时间段内未接收到 ATM OAM环回响应 报文, 则触发判断单元; 所述判断单元设置成判断当前链路不支持 ATM。
所述判断模块包括: 发送单元、 接收单元和判断单元; 其中,
发送单元设置成: 在所述对端发送的报文的封装模式从 ATM转变为以 太网封装模式时, 向所述对端发送 ATM OAM 环回 ^艮文;
接收单元设置成:若在第二预定时间段内接收到 ATM OAM 环回响应报 文, 则触发判断单元;
所述判断单元设置成判断当前链路不支持以太网封装模式。
本发明提供一种在自动检测报文封装模式过程中防止抖动的方法和网元 设备,可以有效避免在 ATM和以太网封装模式自动识别过程中出现抖动情况 带来的影响。
附图概述
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:
图 1为本发明实施例的网元设备的示意图;
图 2为本发明的防止检测报文过程中抖动的方法的流程图;
图 3为本发明实施例的防止检测报文过程中抖动的方法的流程图; 图 4为 ATM OAM Loopback信元的格式的示意图;
图 5为 ATM OAM Loopback信元的功能待定字段的格式的示意图; 图 6、 图 7为本发明应用示例的防止检测报文过程中抖动的方法的流程 图。
本发明的较佳实施方式
在网元设备使用 ATM封装和以太网封装自动识别的方式给用户提供服 务时, 若用户交替或者间歇性地发送两种封装模式的报文, 就容易出现抖动 的情况, 若不能有效的识别出当前出现的抖动情况, 将导致用户网络经常出 现暂时中断等情况,考虑到自动检测 ATM封装和以太网封装的实际应用,本 发明在不违背现有协议及应用的情况下, 提供了一种防止检测过程中抖动的 方法。
为了更好地理解本发明, 下面结合附图和具体实施例对本发明作进一步 地描述。
图 1为本发明实施例的网元设备的示意图, 如图 1所示, 本实施例的网 元设备包括: 检测模块、 判断模块和修改模块, 其中,
检测模块设置成: 若检测到对端发送的报文的封装模式发生变化, 则触 发判断模块;
所述判断模块设置成: 检测当前链路是否支持变化后的报文封装模式, 如不支持, 判断在第一预定时间段内接收到封装模式发生变化的报文的个数 是否达到门限值, 若达到, 则触发修改模块;
所述修改模块设置成: 将当前报文封装模式修改为所述变化后的报文封 装模式。
本实施例中, 所述检测模块检测到对端发送的报文的封装模式发生变化 可以是从以太网封装模式转变为 ATM,或者从 ATM转变为以太网封装模式。
所述判断模块还可以包括:
发送单元, 其设置成在报文的封装模式发生变化时, 向所述对端发送 ATM 0 AM 环回 ^艮文;
接收单元, 其设置成在第二预定时间段内接收 ATM OAM 环回响应报 文,
判断单元,其设置成根据接收单元是否接收到 ATM OAM 环回响应报文 来判断当前链路是否支持变化后的报文封装模式。
图 2为本发明的防止检测报文过程中抖动的方法的流程图,如图 2所示, 本方法包括下面步骤:
S10、检测到对端发送的报文的封装模式发生变化,且检测到当前链路不 支持变化后的报文封装模式;
S20、判断在第一预定时间段内接收到的封装模式发生变化的报文的个数 是否达到门限值, 若达到, 则将当前报文封装模式修改为所述变化后的报文 封装模式。
本发明实施例是以支持自动检测对端是 ATM封装或者以太网封装, 并 自动支持相应封装的系统为例, 例如在连接的两端 (本端和对端) , 在通讯 过程中, 若本端检测到对端发送的报文为 ATM封装, 那么本端将自适应为 ATM封装, 在后面的通讯过程中, 本端将发送 ATM封装的报文, 直到发现 对端在发送以太网封装的 4艮文; 同样地, 若本端检测到对端发送的 4艮文为以 太网封装, 那么本端将自适应为以太网封装, 并在后面的通讯过程中, 本端 将发送以太网封装的 文, 直到发现对端在发送 ATM封装的 文。
本发明实施例的一种在自动检测 ATM封装和以太网封装过程中防止抖 动的方法, 如图 3所示, 包括下面步骤:
5301 , 本端在和对端通讯的过程中, 根据报文的内容检测报文的封装模 式是否发生变化;
5302, 若检测到对端发送的报文的封装方式发生变化, 则记录这个变化, 例如, 是从以太网封装转变为 ATM封装, 或者是从 ATM封装转变为以太网 封装。 之后发送一个 ATM OAM Loopback (环回) 4艮文到对端。
ATM OAM信元格式如图 4所示, 包括: ATM信元头(5字节)、 OAM 类型 (4比特) 、 功能类型 (4比特) 、 功能待定字段(45字节) 、 保留字 段(6比特)和 CRC ( Cyclic Redundancy Check, 循环冗余校验)字段( 10 比特)等字段。 ATM OAM Loopback信元的功能待定字段的格式, 如图 5所 示, 包括环回 ID (标识) ( 1字节) 、 相关标志 ( 4字节) 、 LB (环回)位 置 ID (可选) (16字节) 以及源 ID (可选) (16字节)等内容。
其中 OAM ( Operation Administration Management, 运行管理维护)类型 字段为 0001 , 功能类型字段为 1000。
5303 , 等待接收 Loopback replay (环回响应)报文, 可以设置等待时间, 以使等待的最长时间可以尽可能短, 若在限制的时间内收到了 Loopback replay 文, 则转向步骤 S304; 若未收到, 则转向步骤 305。
5304, 若在限制的时间内收到了 Loopback replay报文, 说明当前链路支 持 ATM封装。 如果前面记录的封装方式的变化是从以太网封装变为 ATM 封装, 那么直接改变本端的封装方式为 ATM封装, 将 ToEthCounter (以太 网封装计数器)和 ToAtmCounter ( ATM封装计数器)置 0 , 并做相应的配置; 如果前面记录的封装方式变化是从 ATM 变为以太网封装, 那么先将 ToEthCounter计数器加 1 , 然后判断 ToEthCounter有没有达到门限值, 若没 有达到, 则继续运行在 ATM, 若达到, 则将 ToEthCounter和 ToAtmCounter 置 0, 并且修改当前模式为以太网封装模式。 计数器的目的是为了防止对端 既要修改封装方式为以太网方式, 但又支持 ATM OAM Loopback的情况。
S305, 若在限制的时间内没有收到 Loopback replay, 说明当前链路不支 持 ATM封装。如果前面记录的封装方式变化是从以太网封装变为 ATM封装, 那么先将计数器 ToAtmCounter加 1 , 之后判断 ToAtmCounter有没有达到门 限值, 若没有, 则继续运行以太网模式, 若达到, 则将 ToAtmCounter和 ToEthCounter置 0, 并且修改当前模式为 ATM。 这里判断计数器是为了防止 对端不支持 ATM OAM Loopback, 在这种情况下, 也能够从以太网模式自动 转变到 ATM模式; 如果前面记录的封装方式变化是从 ATM封装变为以太网 封装, 那么将 ToEthCounter和 ToAtmCounter置 0, 并且直接将本端封装方式 修改为以太网封装。
下面详细说明本发明提供的实现防止在自动检测 ATM和以太网封装过 程中出现抖动的方法的应用示例。
如图 6中所示 ,假设本端和对端在改变封装方式前,都运行在 ATM模式。 步骤 401 : 对端封装方式改变为以太网封装, 发送了一个以太网封装的 报文;
步骤 402: 本端检测到封装方式的变化, 发送一个 ATM OAM Loopback 请求报文;
步骤 403 : 由于对端切换至以太网封装方式, 所以不回复 ATM OAM Loopback请求。 本端会等待 ATM OAM Loopback replay超时, 之后本端设置 封装方式为以太网封装;
步骤 404: 本端和对端都运行在以太网封装模式下, 此时对端修改封装 方式为 ATM封装, 并且开始发送 ATM封装的报文;
步骤 405: 本端检测到报文封装方式从以太网封装切换至 ATM封装, 向 对端发送一个 ATM OAM Loopback请求艮文; 步骤 406:超时时间内收到对端回复的 ATM OAM Loopback replay报文, 本端切换封装方式为 ATM;
以上为正常切换的情形, 若是抖动情况, 例如在 ATM封装方式下, 对 端有以太网封装的报文发出, 则可能出现如图 7所示的处理过程:
步骤 501 : 本端和对端都运行在 ATM封装方式下, 此时对端发送了一个 以太网封装的报文, 但对端其实仍然是运行在 ATM封装方式下;
步骤 502: 本端检测到报文封装方式从 ATM切换至以太网方式, 于是向 对端发送一个 ATM OAM Loopback请求艮文;
步骤 503 : 由于对端仍然运行在 ATM 下, 所以在收到 ATM OAM Loopback请求 文后, 对端将回复 ATM OAM Loopback replay, 本端在收到 这个 文后, 将仍然运行在 ATM封装方式下。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。
工业实用性
与现有技术相比, 本发明可以有效避免在 ATM和以太网封装模式自动 识别过程中出现抖动情况带来的影响。

Claims

权 利 要 求 书
1、 一种防止检测报文过程中抖动的方法, 包括:
若检测到对端发送的报文的封装模式发生变化, 且检测到当前链路不支 持变化后的报文封装模式 , 则判断在第一预定时间段内接收到封装模式发生 变化的报文的个数是否达到门限值, 若达到, 则将当前报文封装模式修改为 所述变化后的报文封装模式。
2、 如权利要求 1所述的方法, 其中,
检测到对端发送的报文的封装模式发生变化的步骤包括: 检测到对端发 送的报文的封装模式从以太网封装模式转变为异步传输模式 ATM;
检测到当前链路不支持变化后的报文封装模式的步骤包括: 向所述对端 发送 ATM运行管理维护 OAM环回报文, 若在第二预定时间段内未接收到 ATM OAM 环回响应报文, 则判断当前链路不支持 ATM。
3、 如权利要求 1所述的方法, 其中,
检测到对端发送的报文的封装模式发生变化的步骤包括: 检测到对端发 送的报文的封装模式从 ATM转变为以太网封装模式;
检测到当前链路不支持变化后的报文封装模式的步骤包括: 向对端发送 ATM OAM环回报文, 若在第二预定时间段内接收到 ATM OAM环回响应 报文, 则判断当前链路不支持以太网封装模式。
4、 如权利要求 2或 3所述的方法, 其中, 所述 ATM OAM 环回报文中 的 OAM类型字段为 0001 , 功能类型字段为 1000。
5、 一种网元设备, 包括: 检测模块、 判断模块和修改模块, 其中: 所述检测模块设置成: 若检测到对端发送的报文的封装模式发生变化, 则触发判断模块;
所述判断模块设置成: 检测当前链路是否支持变化后的报文封装模式, 如不支持, 则判断在第一预定时间段内接收到的封装模式发生变化的报文的 个数是否达到门限值, 若达到, 则触发修改模块;
所述修改模块设置成: 将当前报文封装模式修改为变化后的报文封装模 式。
6、 如权利要求 5所述的网元设备, 其中 ,
所述判断模块包括: 发送单元、 接收单元和判断单元; 其中,
发送单元设置成: 在对端发送的报文的封装模式从以太网封装模式转变 为异步传输模式 ATM时, 向所述对端发送 ATM运行管理维护 OAM 环回 报文;
接收单元设置成:若在第二预定时间段内未接收到 ATM OAM环回响应 报文, 则触发判断单元;
所述判断单元设置成判断当前链路不支持 ATM。
7、 如权利要求 5所述的网元设备, 其中,
所述判断模块包括: 发送单元、 接收单元和判断单元; 其中,
发送单元设置成: 在对端发送的报文的封装模式从 ATM转变为以太网 封装模式时, 向所述对端发送 ATM OAM 环回艮文;
接收单元设置成:若在第二预定时间段内接收到 ATM OAM 环回响应报 文, 则触发判断单元;
所述判断单元设置成判断当前链路不支持以太网封装模式。
PCT/CN2011/075948 2011-01-27 2011-06-20 一种在自动检测报文过程中防止抖动的方法和网元设备 WO2012100492A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100297245A CN102082711A (zh) 2011-01-27 2011-01-27 一种在自动检测报文过程中防止抖动的方法和网元设备
CN201110029724.5 2011-01-27

Publications (1)

Publication Number Publication Date
WO2012100492A1 true WO2012100492A1 (zh) 2012-08-02

Family

ID=44088467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075948 WO2012100492A1 (zh) 2011-01-27 2011-06-20 一种在自动检测报文过程中防止抖动的方法和网元设备

Country Status (2)

Country Link
CN (1) CN102082711A (zh)
WO (1) WO2012100492A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082711A (zh) * 2011-01-27 2011-06-01 中兴通讯股份有限公司 一种在自动检测报文过程中防止抖动的方法和网元设备
CN109167726B (zh) * 2018-08-23 2021-11-05 新华三技术有限公司 报文的数据预取方法、装置及网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058543A1 (en) * 2004-11-09 2007-03-15 Nortel Networks Limited ATM over ethernet scheduler
CN101227482A (zh) * 2008-02-02 2008-07-23 中兴通讯股份有限公司 一种网络电话通话中媒体协商方法、装置及系统
CN101374358A (zh) * 2007-08-23 2009-02-25 中兴通讯股份有限公司 基于扩展帧结构的通信方法
CN102082711A (zh) * 2011-01-27 2011-06-01 中兴通讯股份有限公司 一种在自动检测报文过程中防止抖动的方法和网元设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397829C (zh) * 2002-12-27 2008-06-25 华为技术有限公司 一种频发性离散事件性故障的告警方法
US7505466B2 (en) * 2004-01-20 2009-03-17 Nortel Networks Limited Method and system for ethernet and ATM network interworking
US7623531B2 (en) * 2005-04-19 2009-11-24 Alcatel Lucent Negotiation of datapath treatment for end-to-end interworked network traffic
US7693108B2 (en) * 2006-08-01 2010-04-06 Intel Corporation Methods and apparatus for providing a handover control system associated with a wireless communication network
CN101446857B (zh) * 2008-12-25 2011-05-04 成都市华为赛门铁克科技有限公司 一种硬盘节能的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058543A1 (en) * 2004-11-09 2007-03-15 Nortel Networks Limited ATM over ethernet scheduler
CN101374358A (zh) * 2007-08-23 2009-02-25 中兴通讯股份有限公司 基于扩展帧结构的通信方法
CN101227482A (zh) * 2008-02-02 2008-07-23 中兴通讯股份有限公司 一种网络电话通话中媒体协商方法、装置及系统
CN102082711A (zh) * 2011-01-27 2011-06-01 中兴通讯股份有限公司 一种在自动检测报文过程中防止抖动的方法和网元设备

Also Published As

Publication number Publication date
CN102082711A (zh) 2011-06-01

Similar Documents

Publication Publication Date Title
EP2361468B1 (en) Congestion control method and devices
EP3823411B1 (en) Control method for user equipment, and user equipment for mcg failure processing
CN104412640A (zh) 使用低层信令进行高层压缩
WO2007016833A1 (fr) Procédé de déclenchement de détection de panne de détection de transfert bidirectionnel
WO2012088843A1 (zh) 双向转发检测方法和系统
WO2018210213A1 (zh) 一种实现ioam封装的方法及装置、存储介质
KR20140050671A (ko) Mtc 디바이스의 감소된 모빌리티를 관리하고 mtc 디바이스에 다운링크 데이터를 보내기 위한 이동 통신 네트워크, 인프라구조 기기 및 방법
CN110808873B (zh) 一种检测链路故障的方法及装置
WO2012058930A1 (zh) 链路故障检测方法及系统
US6741566B1 (en) Remote management ethernet network and device
WO2007012245A1 (fr) Procédé de traitement de transmission pour trame de données et système de celui-ci
WO2012088910A1 (zh) 连通性故障检测方法和系统
CN103795518A (zh) 一种设备间端口模式同步方法、设备及系统
WO2008154851A1 (fr) Procédé et dispositif de traitement d'une liaison d'association
CN101051957B (zh) 捆绑链路状态动态调整方法和装置
CN107360020A (zh) 一种大容量数据业务单元保活系统及其使用方法
WO2012003672A1 (zh) 一种实现短消息业务的方法、系统和装置
CN109474446B (zh) 一种协商同步的方法及装置
CN101834759A (zh) 捆绑链路的检测方法及分布式设备
WO2012062097A1 (zh) 多环以太网及其保护方法
WO2012100492A1 (zh) 一种在自动检测报文过程中防止抖动的方法和网元设备
CN102255790A (zh) 拥塞控制信息的通知方法和系统
CN101330410B (zh) 远端环回测试方法、系统及交换机
CN108259442B (zh) 一种慢协议报文处理方法及相关装置
CN101841856A (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: 11857268

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

Country of ref document: EP

Kind code of ref document: A1