WO2014090098A1 - 一种分布式系统中检测协议的实现方法和装置 - Google Patents

一种分布式系统中检测协议的实现方法和装置 Download PDF

Info

Publication number
WO2014090098A1
WO2014090098A1 PCT/CN2013/088350 CN2013088350W WO2014090098A1 WO 2014090098 A1 WO2014090098 A1 WO 2014090098A1 CN 2013088350 W CN2013088350 W CN 2013088350W WO 2014090098 A1 WO2014090098 A1 WO 2014090098A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
detection
session
packet
hardware resource
Prior art date
Application number
PCT/CN2013/088350
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 WO2014090098A1 publication Critical patent/WO2014090098A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers

Definitions

  • the present invention relates to the field of data communications, and in particular, to a method for implementing a detection protocol in a distributed system and a corresponding implementation device.
  • PTKs packet transport networks
  • IP RANs IP RANs
  • link connectivity detection protocols are becoming increasingly important.
  • PTKs packet transport networks
  • IP RANs IP RANs
  • link connectivity detection protocols are becoming increasingly important.
  • the link detection protocol In order to guarantee the quality of service, in a telecommunication network, it is generally required to switch the service to the standby link within 50 ms after the link fails.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • Link detection protocols include Bidirectional Forwording Detection (BFD), MPLS-TP (Operational Maintenance Management (OAM), and Transport Multi-Protocol Label Switching (Ttansport). Multiprotocol Label Switching (TMPLS) OAM.
  • BFD Bidirectional Forwording Detection
  • OAM Operaational Maintenance Management
  • Ttansport Transport Multi-Protocol Label Switching
  • Ttansport Transport Multi-Protocol Label Switching
  • Ttansport Transport Multi-Protocol Label Switching
  • the detection protocol detects the link by establishing a detection session at both ends of the link and periodically sending detection packets on the detection link.
  • the detecting entity at both ends of the link constructs and periodically sends a detection packet according to the configuration or negotiation information, and receives the detection packet sent by the peer end, and compares the content according to the configuration or the negotiation information. Due to the limitation of 50ms switching time, the implementation of the detection protocol must be supported by hardware.
  • each session of the detection protocol consumes hardware resources, such as memory for saving session content and session state, for timing the session. Time meter, and accompanying statistical registers and more. Hardware resources are combined with specific chips.
  • the implementation of the detection protocol session and the processing of the message must be specific to the hardware chip.
  • the detection protocol session processes the received detection message, which can only be processed on the chip that receives the message. This is not a problem for the centralized system. Because of the centralized system, there is usually only one chip, and there is no problem that the receiving port and the processing chip are not uniform. At present, high-end devices in the network generally use a fully distributed system, and hardware resources are allocated on each chip of each line card.
  • link aggregation is generally used to increase bandwidth and link security.
  • the real ports in the aggregation port are scattered on different line cards, which naturally exists that the receiving port and chip resources are not present. Consistent problem.
  • link protection generally adopts two-level protection.
  • the pseudowire service carried by the tunnel is also protected.
  • the service is switched to the backup tunnel.
  • the pseudowire service carried by the tunnel does not sense tunnel switching.
  • the active and standby tunnels are generally configured as cross-line cards, when the service is switched to the backup tunnel, the detection packets of the detection session configured on the pseudowire are also received from the port of the new line card. If the detection session message is still processed on the receiving chip, the detection session on the pseudowire will cause an error in finding the hardware resource on the chip.
  • the conventional solution is to limit the active and standby tunnels to the same chip, so that the switch does not cause the problem that the resource cannot be found; the other is the previously assigned pseudowire layer when the active/standby tunnel is switched.
  • the detection session resources are redistributed on the chip where the backup tunnel is located.
  • the restriction is too large and has no practical significance.
  • the efficiency is difficult to meet the requirements of the ms level, and there is no guarantee that there will be enough hardware resources to be reallocated on the chip where the backup tunnel is located.
  • a method for implementing a detection protocol in a distributed system including: establishing, on each chip of the distributed system, a global mapping relationship indexed by a session number for each detection session After receiving the detection packet, the receiving port obtains the corresponding session number according to the packet, and uses the session number to find the global mapping relationship table, and obtain the chip where the hardware resource of the detection packet is located; The detection message is processed accordingly, and is exchanged to the chip where the hardware resource is located, so that the chip processes the detection message by using its hardware resource.
  • the global mapping relationship table includes a session number, a chip number, and a resource table index used as an index.
  • a session adaptation table is established on each chip, and the session adaptation table is searched according to the detection message, and the session number is obtained.
  • the step of performing the corresponding processing on the detection packet comprises: encapsulating the obtained session number into the detection packet.
  • a hardware resource table is established on each chip, and the chip where the hardware resource is located searches the global mapping relationship table according to the session number in the received packet, obtains a resource table index, and uses the resource table index to search Corresponding hardware resource table, obtain the hardware resources used to process the message.
  • an apparatus for implementing a detection protocol in a distributed system including: a setting module configured to establish a session number for each detection session on each chip of the distributed system
  • the global mapping relationship table is an index
  • the chip information obtaining module is configured to: after receiving the detection packet, the receiving port obtains a corresponding session number according to the packet, and uses the session number to find a global mapping relationship table, and obtains
  • the packet exchange module is configured to perform corresponding processing on the detection packet, and switch to the chip where the hardware resource is located, so that the chip processes the detection report by using the hardware resource thereof.
  • the setting module is further configured to establish a session adaptation table and a hardware resource table on each chip.
  • the chip information obtaining module includes: a session number obtaining submodule, configured to search the session adaptation table according to the detection message, and obtain a session number therein.
  • the message exchange module includes: a message processing sub-module, configured to encapsulate the obtained session number into the detection message.
  • the method further includes: a hardware resource obtaining module, configured to: according to the session number in the received message, find a global mapping relationship table, obtain a resource table index, and use the resource table index to find a corresponding hardware resource table, Get the hardware resources used to process the message.
  • the detection protocol can support the aggregation link and the active/standby tunnel cross-line card in the two-level protection, and the resources can be balancedly allocated in the entire system.
  • FIG. 1 is a block diagram showing a method for implementing a detection protocol in a distributed system according to an embodiment of the present invention
  • FIG. 2 is a relationship diagram of a used table according to an embodiment of the present invention
  • Flow chart of the message DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • the preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
  • a global mapping relationship table is established for each detection session on each chip of the distributed system.
  • the chip where the hardware resources of the session are located can be found on any chip, and then The message is exchanged to the chip where the hardware resource is located for processing.
  • FIGS. 1 to 3. 1 is a schematic block diagram of a method for implementing a detection protocol in a distributed system according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps: Step 101: On each chip of a distributed system, for each detection The session establishes a global mapping relationship table indexed by the session number.
  • the global mapping relationship table includes a session number, a chip number, and a resource table index used as an index.
  • Step 102 After receiving the detection packet, the receiving port obtains the corresponding session number according to the packet, and uses the session number to search the global mapping relationship table to obtain the chip where the hardware resource of the detection packet is located.
  • a session adaptation table needs to be established on each chip, and the session adaptation table is searched according to the detection packet, and the session number is obtained, thereby using the session number as an index in the global mapping relationship table. Find the corresponding chip number.
  • Step 103 Perform corresponding processing on the detection packet, and switch to the chip where the hardware resource is located, and the chip processes the detection packet by using its hardware resource.
  • the step of performing the corresponding processing on the detection packet may include: encapsulating the obtained session number into the detection packet.
  • Establishing a hardware resource table on each chip, where the chip where the hardware resource is located searches the global mapping relationship table according to the session number in the received packet, obtains the resource table index, and uses the resource table index to find the corresponding hardware.
  • Resource table obtain the hardware resources used to process the message.
  • the relationship diagram of the above session adaptation table, global mapping relationship table, and hardware resource table may be as shown in FIG. 2 .
  • An embodiment of the present invention further provides an apparatus for implementing a detection protocol in a distributed system, including: a setting module, configured to establish a global mapping with a session number as an index for each detection session on each chip of the distributed system.
  • the chip information acquiring module is configured to: after receiving the detection packet, the receiving port obtains the corresponding session number according to the packet, and uses the session number to find a global mapping relationship table, and obtain the hardware resource of the detection packet.
  • the chip may include a session number acquisition submodule, configured to search the session adaptation table according to the detection message, and obtain a session number therein.
  • the packet switching module is configured to perform corresponding processing on the detection packet, and switch to the chip where the hardware resource is located, so that the chip processes the detection packet by using its hardware resource.
  • it may comprise a message processing sub-module, configured to encapsulate the obtained session number into the detection message.
  • the hardware resource obtaining module is configured to: according to the session number in the received packet, find a global mapping relationship table, obtain a resource table index, and use the resource table index to find a corresponding hardware resource table, and obtain a packet for processing Hardware resources.
  • FIG. 3 is a flowchart of a device processing message according to an embodiment of the present invention.
  • the implementation mechanism of the embodiment of the present invention may include the following operations:
  • control plane After the control plane completes the negotiation or configuration of the detection session, assign a global session number to the session.
  • the control plane is a detection session on each chip in the distributed system, and a global mapping relationship table is established.
  • the table is indexed by the session number, and includes two fields, a resource chip number (chipNum) and a resource table index (hwIndex The resource chip number points to the chip allocated in 2, and the resource table index is valid on the chip where the resource is located, and points to the hardware resource entry allocated in 2.
  • a session adaptation table is established on each chip, and the session adaptation table includes a session number field, which points to the global session number allocated in 1.
  • the process of processing the packet is as shown in FIG. 3, and the specific steps are as follows: Step 1.
  • the chip After receiving the detection packet from the receiving port, the chip matches the content of the detection packet to the session adaptation table.
  • Step 2 Obtain a corresponding session number.
  • Step 3. Obtain the chip information of the session resource according to the session number index global mapping relationship table obtained in step 2.
  • Step 4 Use the session number of the global mapping relationship table as the session number.
  • the additional information is encapsulated in a fixed position of the detection packet.
  • Step 5 According to the chip information acquired in step 3, the packet is exchanged to the chip where the resource is located; Step 6. On the chip where the resource is located, according to the packet The additional information index is carried in the global mapping relationship table, and the resource table index is obtained in the global mapping relationship table.
  • the resource table index obtained in 6 indexing the session resources and processing the message according to the requirements of the detection protocol.
  • a global mapping relationship table is established on all the chips for each session, and the packets are exchanged to the chip where the hardware resources required by the session are processed according to the global mapping relationship table.

Landscapes

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

Abstract

本发明公开了一种分布式系统中检测协议的实现方法和装置,涉及数据通信领域,所述方法包括:在分布式系统的每块芯片上,为每个检测会话建立以会话号为索引的全局映射关系表;接收端口收到检测报文后,根据所述报文,获取对应的会话号,并利用所述会话号,查找全局映射关系表,获取所述检测报文的硬件资源所在芯片;将所述检测报文进行相应处理,交换至所述硬件资源所在芯片,以便所述芯片利用其硬件资源处理所述检测报文。

Description

一种分布式系统中检测协议的实现方法和装置 技术领域 本发明涉及数据通信领域, 特别涉及一种在分布式系统中检测协议的实现方法及 相应的实现装置。 背景技术 随着分组传送网 (Paket Transport Network,简称为 PTN)以及 IP RAN在电信网络 中的推广, 各类链路连通性检测协议正变的日益重要。 为了保障业务质量, 电信网络 中, 一般需要在链路发生故障后 50ms 内将业务倒换到备用链路, 这就要求链路检测 协议具有高度的敏感性,因此必须由硬件如网络处理器、集成电路(Application Specific Integrated Circuit,简称为 ASIC) 芯片或者现场可编程门阵列 (简称为 FPGA) 等支持。 目前常用的链路检测协议, 有双向转发检测机制 (Bidirectional Forwording Detection,简称为 BFD)、 传输参数 (MPLS-TP) 操作维护管理 (Oracle Actitybased Management,简称为 OAM) 以及传送多协议标签交换 (Ttansport Multiprotocol Label Switching,简称为 TMPLS) OAM等。 检测协议对链路的检测, 是通过在链路两端建 立一条检测会话, 并在检测链路上周期发送检测报文来实现。 链路两端的检测实体, 根据配置或者协商信息, 构造并周期发送检测报文, 同时, 接收对端发来的检测报文, 并根据配置或者协商信息与报文内容进行比较甄别。 由于 50ms倒换时间的限制, 检测协议的实现, 必须由硬件支持, 也就是说, 检 测协议的每个会话都会消耗硬件资源, 如用于保存会话内容和会话状态的存储器, 用 于为会话计时的时间计量器, 以及附带的统计寄存器等等。 硬件资源与具体的芯片是 结合在一起的。 检测协议会话的实现和报文的处理, 必须具体到硬件芯片上。 检测协议会话处理接收到的检测报文, 一般只能在收到报文的芯片上处理, 这对 于集中式系统, 是没有问题的。 因为集中式系统, 一般只有一块芯片, 不存在接收端 口和处理芯片不统一的问题。 目前, 网络中的高端设备一般都采用全分布式系统, 硬件资源分配在各个线卡的 各个芯片上。这就存在了检测协议报文的接收端口和会话资源芯片可能不一致的问题。 比如, 在电信网络中, 一般都采用链路聚合的方式增加带宽和链路的安全性。 而在聚 合端口中的实端口, 都分散在不同的线卡上, 这就天然存在了收包端口和芯片资源不 一致的问题。 为了解决这种问题, 一般只能采用将聚合链路的端口限制在同一块线卡 的同一块芯片上的方法, 或者为聚合链路的每个实端口配置一条检测会话, 这两种方 式, 前者使得链路聚合失去了原本的意义, 后者严重浪费了资源, 都不是真正的解决 方案。 在电信网络中, 链路保护一般还采用两级保护, 比如, 在进行隧道保护的同时, 对隧道承载的伪线业务也要保护。 当主隧道出现故障时, 业务切换到备份隧道, 此时 隧道承载的伪线业务并不会感知到隧道切换。 由于主备隧道一般都是跨线卡配置, 当 业务被倒换到备份隧道后, 伪线上配置的检测会话的检测报文, 也会从新线卡的端口 上接收。 如果依然采用在收包芯片上处理检测会话报文, 就会引起伪线上的检测会话 在本芯片上查找不到硬件资源而出现错误。 常规的解决手段, 一种是将主备隧道限制 在同一块芯片上, 这样切换时不会引发资源查找不到的问题; 另一种是在主备隧道切 换时, 将之前分配的伪线层面的检测会话资源在备份隧道所在芯片上重新分配。 对于 前者, 限制太大, 没有实际意义。 对于后者, 其效率很难满足 ms级的要求, 并且, 无法保证在备份隧道所在芯片上有足够的硬件资源重新分配。 发明内容 为解决上述问题至少之一, 本发明提供了一种分布式系统中检测协议的实现方法 和装置。 根据本发明实施例的一个方面, 提供了一种分布式系统中检测协议的实现方法, 包括: 在分布式系统的每块芯片上, 为每个检测会话建立以会话号为索引的全局映射关 系表; 接收端口收到检测报文后, 根据所述报文, 获取对应的会话号, 并利用所述会话 号, 查找全局映射关系表, 获取所述检测报文的硬件资源所在芯片; 将所述检测报文进行相应处理, 交换至所述硬件资源所在芯片, 以便所述芯片利 用其硬件资源处理所述检测报文。 优选地, 所述全局映射关系表包括用作索引的会话号、 芯片号、 资源表索引。 优选地, 在每块芯片上建立会话适配表, 根据所述检测报文, 查找所述会话适配 表, 获取其中的会话号。 优选地, 所述将所述检测报文进行相应处理的步骤包括: 将获取的所述会话号封 装到所述检测报文中。 优选地, 在每块芯片上建立硬件资源表, 所述硬件资源所在芯片根据所收到报文 中的会话号, 查找全局映射关系表, 得到资源表索引, 并利用所述资源表索引, 查找 相应的硬件资源表, 获取用于处理报文的硬件资源。 根据本发明实施例的另一方面, 提供了一种分布式系统中检测协议的实现装置, 包括: 设置模块, 设置为在分布式系统的每块芯片上, 为每个检测会话建立以会话号为 索引的全局映射关系表; 芯片信息获取模块, 设置为接收端口收到检测报文后, 根据所述报文, 获取对应 的会话号, 并利用所述会话号, 查找全局映射关系表, 获取所述检测报文的硬件资源 所在芯片; 报文交换模块, 设置为将所述检测报文进行相应处理, 交换至所述硬件资源所在 芯片, 以便所述芯片利用其硬件资源处理所述检测报文。 优选地, 所述设置模块还设置为在每块芯片上建立会话适配表和硬件资源表。 优选地, 所述芯片信息获取模块包括- 会话号获取子模块, 设置为根据所述检测报文, 查找所述会话适配表, 获取其中 的会话号。 优选地, 所述报文交换模块包括: 报文处理子模块, 设置为将获取的所述会话号封装到所述检测报文中。 优选地, 还包括: 硬件资源获取模块, 设置为根据所收到报文中的会话号, 查找全局映射关系表, 得到资源表索引, 并利用所述资源表索引, 查找相应的硬件资源表, 获取用于处理报 文的硬件资源。 与现有技术相比较, 本发明实施例的有益效果在于: 本发明实施例可以使检测协议支持聚合链路以及两级保护时主备隧道跨线卡, 还 可以在整个系统中平衡分配资源。 附图说明 图 1是本发明实施例提供的分布式系统中检测协议的实现方法原理框图; 图 2是本发明实施例提供的所用表的关系图; 图 3是本发明实施例提供的装置处理报文的流程图。 具体实施方式 以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下所说明的优 选实施例仅用于说明和解释本发明, 并不用于限定本发明。 本发明实施例中, 在分布式系统的每块芯片上为每个检测会话建立全局映射关系 表, 根据此映射关系表, 可以在任意芯片上查找到该会话的硬件资源所在的芯片, 然 后将报文交换到硬件资源所在芯片进行处理。 以下结合图 1至图 3对本发明实施例进 行说明。 图 1是本发明实施例提供的分布式系统中检测协议的实现方法原理框图, 如图 1 所示, 该方法包括如下步骤: 步骤 101、 在分布式系统的每块芯片上, 为每个检测会话建立以会话号为索引的 全局映射关系表。 其中, 所述全局映射关系表包括用作索引的会话号、 芯片号、 资源 表索引。 步骤 102、 接收端口收到检测报文后, 根据所述报文, 获取对应的会话号, 并利 用所述会话号, 查找全局映射关系表, 获取所述检测报文的硬件资源所在芯片。 优选地, 需要在每块芯片上建立会话适配表, 根据所述检测报文, 查找所述会话 适配表, 获取其中的会话号, 从而利用作为索引的会话号, 在全局映射关系表中找到 相应的芯片号。 步骤 103、 将所述检测报文进行相应处理, 交换至所述硬件资源所在芯片, 所述芯片利用其硬件资源处理所述检测报文。 优选地, 所述将所述检测报文进行相应处理的步骤可以包括: 将获取的所述会话 号封装到所述检测报文中。 在每块芯片上建立硬件资源表, 所述硬件资源所在芯片根 据所收到报文中的会话号, 查找全局映射关系表, 得到资源表索引, 并利用所述资源 表索引, 查找相应的硬件资源表, 获取用于处理报文的硬件资源。 上述会话适配表、 全局映射关系表、 硬件资源表的关系图可以如图 2所示。 本发明实施例还提供了一种分布式系统中检测协议的实现装置, 包括: 设置模块, 设置为在分布式系统的每块芯片上, 为每个检测会话建立以会话号为 索引的全局映射关系表, 并建立会话适配表和硬件资源表。 芯片信息获取模块, 设置为接收端口收到检测报文后, 根据所述报文, 获取对应 的会话号, 并利用所述会话号, 查找全局映射关系表, 获取所述检测报文的硬件资源 所在芯片。 优选地, 其可以包括会话号获取子模块, 设置为根据所述检测报文, 查找 所述会话适配表, 获取其中的会话号。 报文交换模块, 设置为将所述检测报文进行相应处理, 交换至所述硬件资源所在 芯片, 以便所述芯片利用其硬件资源处理所述检测报文。 优选地, 其可以包括报文处 理子模块, 设置为将获取的所述会话号封装到所述检测报文中。 硬件资源获取模块, 设置为根据所收到报文中的会话号, 查找全局映射关系表, 得到资源表索引, 并利用所述资源表索引, 查找相应的硬件资源表, 获取用于处理报 文的硬件资源。 图 3是本发明实施例提供的装置处理报文的流程图, 本发明实施例的实现机制, 可以包括以下操作:
1、 控制平面完成检测会话的协商或者配置后, 为会话分配一个全局会话号。
2、在分布式系统中选择一个芯片, 将会话信息所需的资源在该芯片上分配, 并将 所需资源整合进硬件资源表, 硬件资源表的内容根据具体协议要求确定。
3、控制平面在分布式系统中的每块芯片上为检测会话, 建立全局映射关系表, 该 表以会话号为索引, 包含 2个字段, 资源芯片号 (chipNum)和资源表索引 (hwIndex 其中, 资源芯片号指向 2中分配的芯片, 资源表索引在资源所在芯片上有效, 指向 2 中分配的硬件资源表项。 4、根据具体检测协议, 在每块芯片建立会话适配表, 会话适配表中包含会话号字 段, 指向 1中分配的全局会话号。 在本发明实施例中, 装置处理报文的流程如图 3所示, 具体步骤如下: 步骤 1、 从接收端口收到检测报文后, 芯片根据检测报文的内容匹配到会话适配 表; 步骤 2、 获取到对应的会话号; 步骤 3、 根据步骤 2中获取的会话号索引全局映射关系表, 获取会话资源所在的 芯片信息; 步骤 4、 将全局映射关系表的索引即会话号, 作为附加信息, 封装在所述检测报 文的固定位置; 步骤 5、 根据步骤 3中获取的芯片信息, 将所述报文交换至资源所在芯片; 步骤 6、 在资源所在芯片上, 根据报文中携带的附加信息索引全局映射关系表, 在全局映射关系表中获取资源表索引; 步骤 7、 根据 6中获取的资源表索引, 索引会话资源, 根据检测协议要求, 处理 报文。 本发明实施例为每个会话在所有芯片上建立全局映射关系表, 并根据全局映射关 系表将报文交换到会话所需硬件资源所在芯片进行处理。 通过这种方式, 解决了检测 协议支持聚合链路以及两级保护时主备隧道跨线卡的难题, 同时可以解决由于个别芯 片上资源耗尽而引起的检测会话无法建立的问题, 此外, 本发明实施例可以实现需要 具体芯片硬件资源支持的其他应用。 尽管上文对本发明实施例进行了详细说明, 但是本发明不限于此, 本技术领域技 术人员可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原理所作的修改, 都应当理解为落入本发明的保护范围。 工业实用性 本发明实施例提供的技术方案可以应用于数据通信领域, 使检测协议支持聚合链 路以及两级保护时主备隧道跨线卡, 可以在整个系统中平衡分配资源。

Claims

权 利 要 求 书 、 一种分布式系统中检测协议的实现方法, 包括:
在分布式系统的每块芯片上, 为每个检测会话建立以会话号为索引的全局 映射关系表;
接收端口收到检测报文后, 根据所述报文, 获取对应的会话号, 并利用所 述会话号, 查找全局映射关系表, 获取所述检测报文的硬件资源所在芯片; 将所述检测报文进行相应处理, 交换至所述硬件资源所在芯片, 以便所述 芯片利用其硬件资源处理所述检测报文。 、 根据权利要求 1所述的方法, 其中, 所述全局映射关系表包括用作索引的会话 号、 芯片号、 资源表索引。 、 根据权利要求 2所述的方法, 其中, 在每块芯片上建立会话适配表, 根据所述 检测报文, 查找所述会话适配表, 获取其中的会话号。 、 根据权利要求 3所述的方法, 其中, 所述将所述检测报文进行相应处理的步骤 包括:
将获取的所述会话号封装到所述检测报文中。 、 根据权利要求 4所述的方法, 其中, 在每块芯片上建立硬件资源表, 所述硬件 资源所在芯片根据所收到报文中的会话号, 查找全局映射关系表, 得到资源表 索引, 并利用所述资源表索引, 查找相应的硬件资源表, 获取用于处理报文的 硬件资源。 、 一种分布式系统中检测协议的实现装置, 包括:
设置模块, 设置为在分布式系统的每块芯片上, 为每个检测会话建立以会 话号为索引的全局映射关系表;
芯片信息获取模块, 设置为接收端口收到检测报文后, 根据所述报文, 获 取对应的会话号, 并利用所述会话号, 查找全局映射关系表, 获取所述检测报 文的硬件资源所在芯片;
报文交换模块, 设置为将所述检测报文进行相应处理, 交换至所述硬件资 源所在芯片, 以便所述芯片利用其硬件资源处理所述检测报文。 、 根据权利要求 6所述的装置, 其中, 所述设置模块还设置为在每块芯片上建立 会话适配表和硬件资源表。 、 根据权利要求 7所述的装置, 其中, 所述芯片信息获取模块包括- 会话号获取子模块, 设置为根据所述检测报文, 查找所述会话适配表, 获 取其中的会话号。 、 根据权利要求 8所述的装置, 其中, 所述报文交换模块包括:
报文处理子模块, 设置为将获取的所述会话号封装到所述检测报文中。 、 根据权利要求 9所述的装置, 其中, 还包括:
硬件资源获取模块, 设置为根据所收到报文中的会话号, 查找全局映射关 系表, 得到资源表索引, 并利用所述资源表索引, 查找相应的硬件资源表, 获 取用于处理报文的硬件资源。
PCT/CN2013/088350 2012-12-12 2013-12-02 一种分布式系统中检测协议的实现方法和装置 WO2014090098A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210533280.3 2012-12-12
CN201210533280.3A CN102970191B (zh) 2012-12-12 2012-12-12 一种分布式系统中检测协议的实现方法和装置

Publications (1)

Publication Number Publication Date
WO2014090098A1 true WO2014090098A1 (zh) 2014-06-19

Family

ID=47800082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088350 WO2014090098A1 (zh) 2012-12-12 2013-12-02 一种分布式系统中检测协议的实现方法和装置

Country Status (2)

Country Link
CN (1) CN102970191B (zh)
WO (1) WO2014090098A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970191B (zh) * 2012-12-12 2018-08-14 中兴通讯股份有限公司 一种分布式系统中检测协议的实现方法和装置
CN103368849A (zh) * 2013-07-05 2013-10-23 盛科网络(苏州)有限公司 Oam报文的处理方法和装置
CN105227490B (zh) * 2014-05-27 2018-06-12 杭州迪普科技股份有限公司 一种多设备链路聚合的方法以及装置
CN110191022A (zh) * 2019-05-30 2019-08-30 新华三技术有限公司 一种业务质量检测方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106450A (zh) * 2007-08-16 2008-01-16 杭州华三通信技术有限公司 分布式报文传输安全保护装置和方法
CN101399714A (zh) * 2008-08-29 2009-04-01 中兴通讯股份有限公司 双向收发检测报文的传输方法和装置
CN101616084A (zh) * 2009-07-29 2009-12-30 中兴通讯股份有限公司 一种分布式IPSec负荷分担装置和方法
CN101860487A (zh) * 2010-05-28 2010-10-13 中兴通讯股份有限公司 互联网协议ip分片报文的转发方法及接口板
CN102970191A (zh) * 2012-12-12 2013-03-13 中兴通讯股份有限公司 一种分布式系统中检测协议的实现方法和装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895437B (zh) * 2010-06-23 2015-04-15 迈普通信技术股份有限公司 一种分布式双向转发检测的方法及设备
US8682559B2 (en) * 2010-12-14 2014-03-25 Nxp B.V. Distributed electrical brake circuit and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106450A (zh) * 2007-08-16 2008-01-16 杭州华三通信技术有限公司 分布式报文传输安全保护装置和方法
CN101399714A (zh) * 2008-08-29 2009-04-01 中兴通讯股份有限公司 双向收发检测报文的传输方法和装置
CN101616084A (zh) * 2009-07-29 2009-12-30 中兴通讯股份有限公司 一种分布式IPSec负荷分担装置和方法
CN101860487A (zh) * 2010-05-28 2010-10-13 中兴通讯股份有限公司 互联网协议ip分片报文的转发方法及接口板
CN102970191A (zh) * 2012-12-12 2013-03-13 中兴通讯股份有限公司 一种分布式系统中检测协议的实现方法和装置

Also Published As

Publication number Publication date
CN102970191A (zh) 2013-03-13
CN102970191B (zh) 2018-08-14

Similar Documents

Publication Publication Date Title
US9641354B2 (en) Virtual cable modem termination system
US20230041916A1 (en) Packet Transmission Method, Apparatus, and System
EP2947907B1 (en) Startup configuration method in base station, base station and server
US10404605B2 (en) Packet processing method, device and computer storage medium
US7936680B2 (en) Method and apparatus for increasing the scalability of Ethernet OAM
US8094567B2 (en) Method for transferring test messages and network element device
WO2019184752A1 (zh) 网络设备的管理方法、装置及系统
CA2832019A1 (en) Network system, switch and connected terminal detection method
CN106789606B (zh) 一种网络通信系统、其管理方法及通信方法
WO2018108149A1 (zh) 数据链路切换方法和装置以及数据链路切换设备
CN107566292B (zh) 报文转发方法及装置
CN108737183B (zh) 一种转发表项的监测方法及装置
WO2014090098A1 (zh) 一种分布式系统中检测协议的实现方法和装置
US9838305B2 (en) Method, system and apparatus for an OpenFlow hybrid architecture network device
WO2014090120A1 (zh) 链路切换方法及系统
CN105472486A (zh) 一种pon接入系统防止路由环路的处理方法
CN104821957B (zh) 一种bfd状态机的实现方法、装置及系统
JP2012151604A (ja) プロバイダ網及びプロバイダエッジ装置
WO2019196914A1 (zh) 一种发现转发路径的方法及其相关设备
CN112583736A (zh) 一种信令报文分流方法、装置、设备及介质
WO2015101003A1 (zh) 网络设备及转发报文的方法
CN108282383B (zh) 一种实现故障处理的方法及设备
CN105429874A (zh) 一种针对is-is网络的路由信息采集方法、系统、装置、设备
CN100433652C (zh) 多数据通信网络系统及其数据传输方法
TW201933841A (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: 13862229

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

Country of ref document: EP

Kind code of ref document: A1