WO2008148330A1 - A system and method for data forwarding - Google Patents

A system and method for data forwarding Download PDF

Info

Publication number
WO2008148330A1
WO2008148330A1 PCT/CN2008/070995 CN2008070995W WO2008148330A1 WO 2008148330 A1 WO2008148330 A1 WO 2008148330A1 CN 2008070995 W CN2008070995 W CN 2008070995W WO 2008148330 A1 WO2008148330 A1 WO 2008148330A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
data
engine
forwarding engine
switching network
Prior art date
Application number
PCT/CN2008/070995
Other languages
French (fr)
Chinese (zh)
Inventor
Ke Shuai
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008148330A1 publication Critical patent/WO2008148330A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter

Definitions

  • the present invention relates to the field of network communications, and in particular, to a data forwarding system and method in network communication.
  • Control plane Control plane
  • FP Forward Plane
  • FP Forward Plane
  • NP Network processor
  • ASIC Application Specific Integrated
  • CPU Center Process
  • FIG. 1 The general forwarding structure diagram is shown in Figure 1.
  • the control plane CP the forwarding plane FP, the switching network, and the interface card PIC (PIC: Physical Interface) are included.
  • PIC Physical Interface
  • the forwarding plane FP further includes a forwarding engine FE, a table lookup module, and two traffic management T M (TM: Traffic Management) modules, and the data forwarding process is:
  • the interface card PIC transmits the data to the switching network, and the switching network transmits the received data to the forwarding engine FE.
  • the control plane CP parses and processes the various data protocols, and generates various entries for forwarding.
  • the look-up table module in the forwarding plane FP is used to find the content of the corresponding table item, and then the forwarding data selected by the forwarding plane FP in the forwarding plane FP processes the transmitted data, and after processing,
  • the switching network transmits the processed data to the designated interface card PIC to complete the forwarding of the data.
  • the Traffic ManagementTM module is used for control of Quality of Service (QoS) during data transmission.
  • QoS Quality of Service
  • FP uses a single forwarding engine FE, which has strict bandwidth requirements. For example, if the access bandwidth is 40G, then the single forwarding engine FE must also be 40G, so that for high bandwidth and high density interfaces, the single forwarding engine May be difficult to meet; in addition, once the single forwarding engine fails, all services are available Can be interrupted, there is no backup of the forwarding engine; peers, for the existing forwarding structure, if you want to achieve complete QoS control, you must provide two traffic management modules in the switching network and interface card PIC, otherwise QoS may Flawed.
  • embodiments of the present invention provide a system and method for data forwarding.
  • An embodiment of the present invention provides a data forwarding system, including:
  • forwarding engine FE is used to process the transmitted data
  • a switching network configured to interact with the forwarding engine, and select at least one forwarding engine pair data Process and forward the processed data.
  • the embodiment of the present invention further provides a data forwarding method, including:
  • the embodiment of the present invention can solve the problem that the single forwarding engine cannot support high-bandwidth access, and implement load sharing and backup of the forwarding engine, thereby improving the reliability of forwarding. , and solve the fault and performance problems of the single forwarding bow engine.
  • FIG. 1 is a schematic diagram of a data forwarding structure commonly used in the prior art
  • FIG. 2 is a schematic structural diagram of the data forwarding system according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of the data forwarding method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic overall diagram of a forwarding system according to an embodiment of the present invention.
  • the embodiment of the present invention provides a system and method for data forwarding, which is originally performed by using a single forwarding engine.
  • the process of data processing is performed in two or more forwarding engines, wherein the selection of the forwarding engine can be performed through interaction between the switching network and each forwarding engine.
  • FIG. 2 is a schematic structural diagram of a data forwarding system according to an embodiment of the present invention, where the figure includes:
  • [27] 2 or more forwarding engines FE and a switching network wherein the forwarding engine FE is used to process the transmitted data, and the data described herein may be data coming in through the interface card PIC, the data is The switching network transmits to the forwarding engine FE; the switching network acquires the forwarding information of the forwarding engine FE during the interaction with the forwarding engine FE, and selects at least one forwarding bow engine to perform data according to the forwarding information Processing, the forwarding information described herein may be an enable state and load status information of the forwarding engine, and the forwarding engine FE sends the processed data to the switching network after the data processing is completed.
  • the switching network transmits the processed data according to the outbound interface identifier (ID) information of the processed data, where it can be transmitted to the designated interface card PIC, thereby completing data forwarding, the forwarding engine FE and the interface card PIC described above. It is also possible to use the same switching network.
  • ID outbound interface identifier
  • FIG. 2 further includes a common resource management module and a unified traffic management module (ie, a unified TM module), wherein the common resource management module is configured to process data in the forwarding engine FE and forward the data in the switching network.
  • the common resource information is uniformly managed, and the public resource information described herein may include the contents of the entry resource for forwarding data, and/or the number of processed data in the process of processing all services and processes. , length, etc. count resource content.
  • the public resource management module may further include a table lookup module and a counting module, wherein the lookup table module is configured to search for the contents of the table items used for forwarding data; and the counting module is used for processing the data, the number, length, etc. of the processed data. Count.
  • the core hardware acceleration module of the public resource management module described above can also be hung on the switching network, that is, the forwarding engine FE can interact with these modules through the switching network to obtain corresponding resources.
  • the unified traffic management module is used to uniformly control the transmission quality QoS in the process of processing the data by the forwarding engine FE and forwarding the data by the switching network. In the original forwarding system, if you want to implement perfect QoS control, you must provide two traffic management modules on the switching network and interface card. Otherwise, QoS will be flawed. Now, because the interface card also goes through the switching network, the two traffic.
  • the management module can be integrated, so that the QoS control in the data forwarding process can be realized through the unified traffic management module, thereby saving hardware resources.
  • the packets in the data are generally distributed to multiple forwarding engines for processing.
  • data needs to be processed such as table lookup, counting, or QoS
  • data packets or data packets are required.
  • Part of the message is sent to these corresponding modules for processing, and then returned to the forwarding engine after processing. Since there is no direct connection between these modules, it is difficult to correctly implement the functions of these modules without uniform processing, such as counting modules.
  • each forwarding engine FE uses a different counting module, for the same data, because There are multiple forwarding engines FE, so there are multiple counters for counting this data. In fact, what we really need is the integration of multiple counters.
  • each forwarding engine FE can also be taken through the control plane.
  • the foregoing two or more forwarding engines FE may be implemented by combining a fixed forwarding engine FE and a forwarding engine FE card in a specific implementation process, where the forwarding engine is implemented.
  • the FE card refers to:
  • the forwarding engine FE can not directly patch the board to the circuit board, but add a corresponding physical interface on the circuit board, and then make a board of the forwarding engine FE, directly buckled on it, so that the configuration is It is very flexible and flexible.
  • a forwarding engine FE is fixed in the system, and then according to the actual situation of the network, if the forwarding performance and reliability need to be improved, one or more forwarding engine FE cards can be added, and then the data is forwarded. .
  • An embodiment of the present invention further provides a data forwarding method, and a forwarding flowchart thereof is shown in FIG. 3 , where the figure includes:
  • Box 11 Receive data.
  • the data received therein may be data transmitted by the interface card PIC and then transmitted to the forwarding engine FE via the switching network.
  • the switching network selects the forwarding engine FE that processes the data. Specifically, the switching network transmits data. After being sent to the forwarding engine, an interaction occurs with the forwarding engine. That is, the forwarding engine FE provides forwarding engine information such as the enabled state and load of the engine, and the switching network actually obtains the information; and then according to the information according to a certain algorithm.
  • the policy selects the optimal forwarding engine. For example, the selected algorithm policy may be to select the forwarding engine with the lowest current load among the available forwarding engines.
  • the data can also be distributed to different forwarding engines for processing.
  • the information such as the load status of the forwarding engine is changed by the forwarding engine itself according to the processing capability of the network, and the switching network knows.
  • the forwarding engine information of each forwarding engine FE in the system such as the status of the enabling state and the load status, selects at least one forwarding engine FE to process the data, and the selected policy is as described above, so that the forwarding engine FE can be implemented.
  • Load sharing and backup, peers can also improve forwarding performance and reliability, effectively solving the failure and performance problems of single forwarding.
  • the selected forwarding engine FE processes the transmitted data.
  • the forwarding engine that processes the data can be two or more.
  • the common resource information in the data forwarding process can be uniformly managed, and the common resource information described herein may include the contents of the entry resource for forwarding data, and the process of processing all the services and processes. In the middle, the number of data, the length, and other count resources are processed.
  • the transmission quality QoS can also be uniformly controlled.
  • you want to implement perfect QoS control you must provide two traffic management modules on the switching network and interface card. Otherwise, QoS will be flawed. Now you can control QoS through a unified traffic management module. Save hardware resources.
  • Box 15 The switching network transmits the data according to the outgoing interface ID of the processed data.
  • the processed data can be transferred to the designated interface card PIC to complete the data forwarding.
  • FIG. 4 is a schematic diagram of an overall embodiment of a forwarding system of a high-end router according to an embodiment of the present invention, where:
  • Forwarding plane FP includes two or more forwarding engines FE, switching network, common resource management module and unified traffic management module (ie, unified TM module).
  • the data forwarding process is as follows:
  • the interface card PIC transmits incoming data, and the switching network is responsible for transmitting data to the forwarding plane.
  • the engine is configured to process the various protocols of the data, and the forwarding entry is sent to the forwarding plane FP.
  • the common resource management module in the forwarding plane FP searches for the corresponding entry required for forwarding the data. content.
  • the switching network transmits data to the forwarding engine FE, and generates an interaction with the forwarding engine FE, and finds information such as the enabling status and load status of each forwarding engine FE in the forwarding plane FP, according to The information is selected from at least one of the two or more forwarding engines FE included in the forwarding plane FP to process the data.
  • the forwarding engine FE provides forwarding engine information such as an enabled state and a load of the engine, and the switching network obtains the information. Then, according to the information, an optimal forwarding engine is selected according to a certain algorithm strategy.
  • the selected algorithm strategy may be to select a forwarding engine with the lowest current load among the available forwarding engines.
  • the data can also be distributed to different forwarding engines for processing.
  • the information such as the load status of the forwarding engine is changed by the forwarding engine itself according to the processing capability of the current network. Knowing the forwarding engine information of each forwarding engine FE in the system, such as enabling status and load status, and then selecting at least one forwarding engine to process the data, the selected strategy is as described above, so that forwarding can be implemented.
  • the load sharing and backup of the engine FE can improve the forwarding performance and reliability, and effectively solve the fault and performance problems of the single forwarding engine FE.
  • the selected forwarding engine FE After the selected forwarding engine FE processes the data, it will transfer the processed data to the switching network.
  • the switching network transmits the data to the designated interface card PIC according to the outbound interface ID of the data, and completes the forwarding of the data. .
  • the transmission quality QoS is controlled by a unified traffic management module, which can reduce the number of traffic management modules and save hardware resources.
  • the embodiment of the present invention can solve the problem that the single forwarding engine FE cannot support high-bandwidth access, and implement load sharing and backup of the forwarding engine FE, which improves the reliability of forwarding and solves the problem.
  • Faults and performance problems of the single-forwarding engine FE; peer-to-peer management through common resources, and unified management of QoS by the traffic management module can reduce the number of modules and save hardware resources.

Abstract

A system and method for data forwarding are disclosed. Said method uses two or more than two forwarding engines to perform the data processing procedure, which is performed by using single forwarding engine before. Said forwarding engine is selected by using the information exchange between switching network and each of the forwarding engines. By employing said system and method, the problem, that single forwarding engine can't support high bandwidth access, is resolved efficiently, and the load sharing and backup of forwarding engines are realized. In said system, a common resource management module is used to manage all of the common resources, and a traffic management module is used to perform the centralized-control of QoS.

Description

一种数据转发系统和方法  Data forwarding system and method
[1] 技术领域  [1] Technical field
[2] 本发明涉及网络通信领域, 尤其涉及网络通信中一种数据转发系统和方法。  [2] The present invention relates to the field of network communications, and in particular, to a data forwarding system and method in network communication.
[3] 发明背景  [3] Background of the invention
[4] 目前, 在高端路由器的设计中, 数据转发一般釆用转发和控制分离的方法进行 的。 控制平面 (CP: Control  [4] At present, in the design of high-end routers, data forwarding is generally performed by means of forwarding and control separation. Control plane (CP: Control
Plane) 负责处理各种协议, 生成转发用的表项, 下发给转发平面 (FP: Forward Plane) , 然后由转发平面完成数据的转发, 这里的转发平面可以使用各种转发 引擎 (FE: Forward Engineer) , 如网络处理器 (NP: Network  Plane) is responsible for processing various protocols, generating forwarding entries, and delivering them to the forwarding plane (FP: Forward Plane), and then forwarding the data by the forwarding plane. Here, the forwarding plane can use various forwarding engines (FE: Forward Engineer) , such as network processor (NP: Network
Processor) 、 专用集成电路 (ASIC: Application Specific Integrated  Processor), ASIC (Application Specific Integrated)
Circuits) 、 中央处理器 (CPU: Center Process  Circuits), Central Processing Unit (CPU: Center Process
Unit) /多核 CPU等来实现。 其通用的转发结构示意图如图 1所示, 在图 1中包括 有控制平面 CP、 转发平面 FP、 交换网和接口卡 PIC (PIC: Physical Interface Unit) / Multi-core CPU to achieve. The general forwarding structure diagram is shown in Figure 1. In Figure 1, the control plane CP, the forwarding plane FP, the switching network, and the interface card PIC (PIC: Physical Interface) are included.
Card) , 其中的转发平面 FP内还包括有转发引擎 FE、 査表模块和 2个流量管理 T M (TM: Traffic Management) 模块, 其数据转发过程为: Card), wherein the forwarding plane FP further includes a forwarding engine FE, a table lookup module, and two traffic management T M (TM: Traffic Management) modules, and the data forwarding process is:
首先, 接口卡 PIC将数据传送到交换网, 交换网将接收到的数据传送给转发引 擎 FE; 而控制平面 CP对数据的各种协议进行解析处理, 生成转发用的各种表项 , 下发到转发平面 FP; 转发平面 FP中的査表模块用于査找相应的表项内容, 然 后转发平面 FP中选定的转发弓 I擎 FE会对传送来的数据进行处理, 并在处理完毕 后, 由交换网将处理后的数据传送到指定的接口卡 PIC, 完成对数据的转发。 其 中的流量管理 TM模块用于在数据传送过程中的传输质量 QoS (QoS: Quality Of Service) 的控制。  First, the interface card PIC transmits the data to the switching network, and the switching network transmits the received data to the forwarding engine FE. The control plane CP parses and processes the various data protocols, and generates various entries for forwarding. To the forwarding plane FP; the look-up table module in the forwarding plane FP is used to find the content of the corresponding table item, and then the forwarding data selected by the forwarding plane FP in the forwarding plane FP processes the transmitted data, and after processing, The switching network transmits the processed data to the designated interface card PIC to complete the forwarding of the data. The Traffic ManagementTM module is used for control of Quality of Service (QoS) during data transmission.
[6] 从以上的转发结构和转发过程可以看出, 由于在数据转发的过程中, 转发平面 [6] It can be seen from the above forwarding structure and forwarding process that the forwarding plane is in the process of data forwarding.
FP釆用的是单个转发引擎 FE, 其带宽要求比较严格, 如接入的带宽是 40G, 那 么就要求单转发引擎 FE也必须为 40G, 这样对于高带宽、 高密度接口来说, 单转 发引擎可能难以满足的; 另外, 一旦单转发引擎发生故障, 则所有的业务都可 能会中断, 没有转发引擎的备份; 同吋对现有的转发结构来说, 如果要实现完 善的 QoS控制, 就必须在交换网和接口卡 PIC提供两个流量管理模块, 否则 QoS 就可能会存在缺陷。 FP uses a single forwarding engine FE, which has strict bandwidth requirements. For example, if the access bandwidth is 40G, then the single forwarding engine FE must also be 40G, so that for high bandwidth and high density interfaces, the single forwarding engine May be difficult to meet; in addition, once the single forwarding engine fails, all services are available Can be interrupted, there is no backup of the forwarding engine; peers, for the existing forwarding structure, if you want to achieve complete QoS control, you must provide two traffic management modules in the switching network and interface card PIC, otherwise QoS may Flawed.
[7] 综上所述, 在实现本发明过程中, 发明人发现现有技术中至少存在如下问题: 单转发引擎难以满足现在的高带宽、 高密度接口, 而且一旦转发引擎发生故障 , 就会中断所有的业务, 没有转发引擎之间的备份。  [7] In summary, in the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: The single forwarding engine is difficult to meet the current high bandwidth, high density interface, and once the forwarding engine fails, Interrupt all services, no backup between forwarding engines.
[8] 发明内容  [8] Summary of the invention
[9] 鉴于上述现有技术所存在的问题, 本发明实施例提供了一种数据转发的系统和 方法。  [9] In view of the above problems in the prior art, embodiments of the present invention provide a system and method for data forwarding.
[10] 本发明实施例是通过以下技术方案实现的:  [10] The embodiment of the present invention is implemented by the following technical solutions:
[11] 本发明实施例提供了一种数据转发系统, 包括: An embodiment of the present invention provides a data forwarding system, including:
[12] 2个或 2个以上的转发引擎, 其中转发引擎 FE用于对传送来的数据进行处理; [13] 交换网, 用于和所述转发引擎进行交互, 选择至少一个转发引擎对数据进行处 理, 并转发处理后的数据。  [12] 2 or more forwarding engines, wherein the forwarding engine FE is used to process the transmitted data; [13] a switching network, configured to interact with the forwarding engine, and select at least one forwarding engine pair data Process and forward the processed data.
[14] 本发明实施例还提供了一种数据转发方法, 包括: [14] The embodiment of the present invention further provides a data forwarding method, including:
[15] 获取多个转发引擎的转发引擎信息; [15] Obtain forwarding engine information of multiple forwarding engines;
[16] 根据所述转发弓 I擎信息选择所述多个转发弓 I擎中的至少一个转发弓 I擎对数据进 行处理, 并转发处理后的数据。  [16] selecting at least one of the plurality of forwarding engines according to the forwarding information to process the data and forwarding the processed data.
[17] 由上述所提供的技术方案可以看出, 本发明实施例可以解决单转发引擎无法支 撑高带宽接入的问题, 并实现了转发引擎的负载分担和备份, 既提高了转发的 可靠性, 又解决了单转发弓 I擎的故障和性能问题。 [17] It can be seen from the foregoing technical solutions that the embodiment of the present invention can solve the problem that the single forwarding engine cannot support high-bandwidth access, and implement load sharing and backup of the forwarding engine, thereby improving the reliability of forwarding. , and solve the fault and performance problems of the single forwarding bow engine.
[18] 附图简要说明  [18] BRIEF DESCRIPTION OF THE DRAWINGS
[19] 图 1为现有技术中通用的数据转发结构示意图;  [19] FIG. 1 is a schematic diagram of a data forwarding structure commonly used in the prior art;
[20] 图 2为本发明实施实施例提供的所述数据转发系统的结构示意图;  2 is a schematic structural diagram of the data forwarding system according to an embodiment of the present invention;
[21] 图 3为本发明实施实施例提供的所述数据转发方法的流程图;  FIG. 3 is a flowchart of the data forwarding method according to an embodiment of the present disclosure;
[22] 图 4为本发明实施例提供的转发系统的整体示意图。  FIG. 4 is a schematic overall diagram of a forwarding system according to an embodiment of the present invention.
[23] 实施本发明的方式  [23] Mode for carrying out the invention
[24] 本发明实施例提供了一种数据转发的系统和方法, 将原来利用单转发引擎进行 数据处理的过程, 放在 2个或 2个以上的转发引擎中进行处理, 其中转发引擎的 选择可以通过交换网和各转发引擎之间的交互来进行。 通过本技术方案的实施 , 可以有效解决单转发引擎无法支撑高带宽接入的问题, 并实现了转发引擎的 负载分担和备份, 既提高了转发的可靠性, 又解决了单转发引擎可能出现的故 障和性能问题。 [24] The embodiment of the present invention provides a system and method for data forwarding, which is originally performed by using a single forwarding engine. The process of data processing is performed in two or more forwarding engines, wherein the selection of the forwarding engine can be performed through interaction between the switching network and each forwarding engine. Through the implementation of the technical solution, the problem that the single forwarding engine cannot support the high bandwidth access can be effectively solved, and the load sharing and backup of the forwarding engine are implemented, which not only improves the reliability of forwarding, but also solves the possibility that the single forwarding engine may appear. Failure and performance issues.
[25] 为更好的描述本发明实施方式, 现结合附图对本发明的具体实施方式的转发系 统进行说明如下:  [25] For a better description of the embodiments of the present invention, the forwarding system of the specific embodiment of the present invention will now be described as follows:
[26] 如图 2所示为本发明实施例提供的数据转发系统的结构示意图, 图中包括: [26] FIG. 2 is a schematic structural diagram of a data forwarding system according to an embodiment of the present invention, where the figure includes:
[27] 2个或 2个以上的转发引擎 FE和交换网, 其中的转发引擎 FE用于对传送来的数 据进行处理, 这里所述的数据可以是通过接口卡 PIC进来的数据, 该数据由交换 网传送给转发引擎 FE; 交换网在和转发引擎 FE的交互过程中, 获取转发引擎 FE 的转发弓 I擎信息, 根据所述转发弓 I擎信息选择至少一个转发弓 I擎 FE对数据进行 处理, 这里所述的转发弓 I擎信息可以是转发弓 I擎 FE的使能状态和负载情况信息 等; 在对数据处理完毕后, 转发引擎 FE再将处理后的数据发送给交换网, 由交 换网根据处理后数据的出接口标识 (ID) 信息, 将处理后的数据传送出去, 这 里可以传送到指定的接口卡 PIC, 从而完成数据的转发, 以上所述的转发引擎 FE 和接口卡 PIC也可以使用同一个交换网。 [27] 2 or more forwarding engines FE and a switching network, wherein the forwarding engine FE is used to process the transmitted data, and the data described herein may be data coming in through the interface card PIC, the data is The switching network transmits to the forwarding engine FE; the switching network acquires the forwarding information of the forwarding engine FE during the interaction with the forwarding engine FE, and selects at least one forwarding bow engine to perform data according to the forwarding information Processing, the forwarding information described herein may be an enable state and load status information of the forwarding engine, and the forwarding engine FE sends the processed data to the switching network after the data processing is completed. The switching network transmits the processed data according to the outbound interface identifier (ID) information of the processed data, where it can be transmitted to the designated interface card PIC, thereby completing data forwarding, the forwarding engine FE and the interface card PIC described above. It is also possible to use the same switching network.
[28] 图 2中还包括公共资源管理模块和统一的流量管理模块 (即统一的 TM模块) , 其中的公共资源管理模块用于在转发引擎 FE对数据进行处理和交换网对数据进 行转发的过程中, 对公共资源信息进行统一的管理, 这里所述的公共资源信息 可以包括转发数据用的表项资源内容, 和 /或在对所有业务和流程进行处理的过 程中, 处理数据的个数、 长度等计数资源内容。 通过以上公共资源的整合管理 , 可以减少必要的模块数量, 节省了硬件资源。  [28] FIG. 2 further includes a common resource management module and a unified traffic management module (ie, a unified TM module), wherein the common resource management module is configured to process data in the forwarding engine FE and forward the data in the switching network. In the process, the common resource information is uniformly managed, and the public resource information described herein may include the contents of the entry resource for forwarding data, and/or the number of processed data in the process of processing all services and processes. , length, etc. count resource content. Through the integrated management of the above public resources, the necessary number of modules can be reduced, and hardware resources are saved.
[29] 其中的公共资源管理模块还可以包括査表模块和计数模块, 査表模块用于査找 转发数据用的表项内容; 计数模块用于对数据处理过程中, 对处理数据的个数 、 长度等进行计数。  [29] The public resource management module may further include a table lookup module and a counting module, wherein the lookup table module is configured to search for the contents of the table items used for forwarding data; and the counting module is used for processing the data, the number, length, etc. of the processed data. Count.
[30] 以上所述的公共资源管理模块的核心硬件加速模块, 也可以挂在交换网上, 也 就是说, 转发引擎 FE可以通过交换网和这些模块进行交互来获得相应的资源。 [31] 统一的流量管理模块用于在转发引擎 FE对数据进行处理和交换网对数据进行转 发的过程中, 对传输质量 QoS进行统一控制。 原来的转发系统中, 如果要实现完 善的 QoS控制, 必须在交换网和接口卡端提供两个流量管理模块, 否则 QoS就会 存在缺陷, 而现在因为接口卡也走交换网, 所以两个流量管理模块可以合一, 这样通过统一的流量管理模块就可以实现对数据转发过程中的 QoS控制, 节省了 硬件资源。 [30] The core hardware acceleration module of the public resource management module described above can also be hung on the switching network, that is, the forwarding engine FE can interact with these modules through the switching network to obtain corresponding resources. [31] The unified traffic management module is used to uniformly control the transmission quality QoS in the process of processing the data by the forwarding engine FE and forwarding the data by the switching network. In the original forwarding system, if you want to implement perfect QoS control, you must provide two traffic management modules on the switching network and interface card. Otherwise, QoS will be flawed. Now, because the interface card also goes through the switching network, the two traffic. The management module can be integrated, so that the QoS control in the data forwarding process can be realized through the unified traffic management module, thereby saving hardware resources.
[32] 对于送到转发平面的同一数据, 数据中的报文一般会被分散到多个转发引擎进 行处理, 当需要对数据作査表、 计数或 QoS等处理吋, 则需要将数据报文或者报 文的部分信息送到这些相应模块中进行处理, 处理完毕后再返回到转发引擎。 由于这些模块间本身没有直接的联系, 如果不做统一的处理, 是难以正确实现 这些模块的功能的, 比如计数模块, 如果每个转发引擎 FE都用不同的计数模块 , 对于同一数据, 因为被分到了多个转发引擎 FE, 那么对这条数据的计数就有 多个计数器, 而实际上我们真正需要的是多个计数器的整合, 当然也可用通过 控制平面分别取各个转发引擎 FE的计数器, 再累计的处理方法, 但这样系统的 复杂度和负载都增加了很多。 所以, 通过本发明实施例提供的数据转发方案可 以有效的实现公共资源的整合管理, 减少必要的模块数量, 节省了硬件资源。  [32] For the same data sent to the forwarding plane, the packets in the data are generally distributed to multiple forwarding engines for processing. When data needs to be processed, such as table lookup, counting, or QoS, data packets or data packets are required. Part of the message is sent to these corresponding modules for processing, and then returned to the forwarding engine after processing. Since there is no direct connection between these modules, it is difficult to correctly implement the functions of these modules without uniform processing, such as counting modules. If each forwarding engine FE uses a different counting module, for the same data, because There are multiple forwarding engines FE, so there are multiple counters for counting this data. In fact, what we really need is the integration of multiple counters. Of course, the counters of each forwarding engine FE can also be taken through the control plane. The cumulative processing method, but the complexity and load of the system have increased a lot. Therefore, the data forwarding scheme provided by the embodiment of the present invention can effectively implement the integrated management of common resources, reduce the number of necessary modules, and save hardware resources.
[33] 另外的, 上述的 2个或 2个以上的转发引擎 FE, 在具体的实现过程中, 可以釆取 固定转发引擎 FE和转发引擎 FE扣卡结合的方法来实现, 所述的转发引擎 FE扣卡 指的是: 转发引擎 FE可以不直接贴片到电路板上, 而是在电路板上增加相应的 物理接口, 再做一个转发引擎 FE的单板, 直接扣在上面, 这样配置起来就很灵 活, 伸缩性也好。 具体来说, 就是在系统中固定一个转发引擎 FE, 然后根据网 络实际的情况, 如果需要提高转发性能和可靠性, 就可以增加 1个或多个转发引 擎 FE扣卡, 然后再进行数据的转发。  [33] In addition, the foregoing two or more forwarding engines FE may be implemented by combining a fixed forwarding engine FE and a forwarding engine FE card in a specific implementation process, where the forwarding engine is implemented. The FE card refers to: The forwarding engine FE can not directly patch the board to the circuit board, but add a corresponding physical interface on the circuit board, and then make a board of the forwarding engine FE, directly buckled on it, so that the configuration is It is very flexible and flexible. Specifically, a forwarding engine FE is fixed in the system, and then according to the actual situation of the network, if the forwarding performance and reliability need to be improved, one or more forwarding engine FE cards can be added, and then the data is forwarded. .
[34] 本发明实施例还提供了一种数据转发的方法, 其转发流程图如图 3所示, 图中 包括: An embodiment of the present invention further provides a data forwarding method, and a forwarding flowchart thereof is shown in FIG. 3 , where the figure includes:
[35] 方框 11 : 接收数据。 其中接收到的数据可以是由接口卡 PIC传送而来的数据, 然后经交换网传送给转发引擎 FE。  [35] Box 11: Receive data. The data received therein may be data transmitted by the interface card PIC and then transmitted to the forwarding engine FE via the switching network.
[36] 方框 12: 交换网选择处理数据的转发引擎 FE。 具体来说就是, 交换网将数据传 送到转发引擎后, 与转发引擎之间会产生交互, 即: 转发引擎 FE提供本引擎的 使能状态和负载等转发引擎信息, 交换网实吋获取这些信息; 然后根据这些信 息按照一定的算法策略选择最优的转发引擎, 例如, 所选的算法策略可以是选 择可用的转发引擎中当前负载最小的转发引擎。 [36] Box 12: The switching network selects the forwarding engine FE that processes the data. Specifically, the switching network transmits data. After being sent to the forwarding engine, an interaction occurs with the forwarding engine. That is, the forwarding engine FE provides forwarding engine information such as the enabled state and load of the engine, and the switching network actually obtains the information; and then according to the information according to a certain algorithm. The policy selects the optimal forwarding engine. For example, the selected algorithm policy may be to select the forwarding engine with the lowest current load among the available forwarding engines.
[37] 另外, 数据也可以被分发到不同的多个转发引擎中进行处理, 这里转发引擎的 负载状态等信息是由转发引擎自己根据当吋的处理能力实吋进行改变的, 交换 网在知道系统中每个转发引擎 FE的转发引擎信息, 如使能状态和负载情况等信 息后, 再选择至少一个转发引擎 FE对数据进行处理, 选择的策略如上所述, 这 样就可以实现转发引擎 FE的负载分担和备份, 同吋还可以提高转发性能和可靠 性, 有效解决了单转发弓 I擎 FE的故障和性能问题。  [37] In addition, the data can also be distributed to different forwarding engines for processing. Here, the information such as the load status of the forwarding engine is changed by the forwarding engine itself according to the processing capability of the network, and the switching network knows. The forwarding engine information of each forwarding engine FE in the system, such as the status of the enabling state and the load status, selects at least one forwarding engine FE to process the data, and the selected policy is as described above, so that the forwarding engine FE can be implemented. Load sharing and backup, peers can also improve forwarding performance and reliability, effectively solving the failure and performance problems of single forwarding.
[38] 方框 13: 选定的转发引擎 FE对传送来的数据进行处理, 按以上所述, 这里对数 据进行处理的转发弓 I擎 FE可以是 2个或 2个以上。  [38] Box 13: The selected forwarding engine FE processes the transmitted data. As described above, the forwarding engine that processes the data here can be two or more.
[39] 方框 14: 将处理后的数据发送给交换网。  [39] Box 14: Send the processed data to the switching network.
[40] 这其中, 对数据转发过程中的公共资源信息可以进行统一的管理, 这里所述的 公共资源信息可以包括转发数据用的表项资源内容, 以及在对所有业务和流程 进行处理的过程中, 处理数据的个数、 长度等计数资源等内容。  [40] Among them, the common resource information in the data forwarding process can be uniformly managed, and the common resource information described herein may include the contents of the entry resource for forwarding data, and the process of processing all the services and processes. In the middle, the number of data, the length, and other count resources are processed.
[41] 另外的, 在数据的转发过程中, 对传输质量 QoS也可以进行统一的控制。 原来 的转发系统中, 如果要实现完善的 QoS控制, 必须在交换网和接口卡端提供两个 流量管理模块, 否则 QoS就会存在缺陷, 现在通过统一的流量管理模块对 QoS进 行控制就可以有效节省硬件资源。  [41] In addition, in the process of data forwarding, the transmission quality QoS can also be uniformly controlled. In the original forwarding system, if you want to implement perfect QoS control, you must provide two traffic management modules on the switching network and interface card. Otherwise, QoS will be flawed. Now you can control QoS through a unified traffic management module. Save hardware resources.
[42] 方框 15: 交换网根据处理后数据的出接口 ID , 将数据传送出去。 这里可以将处 理后的数据传送到指定的接口卡 PIC, 从而完成数据的转发。  [42] Box 15: The switching network transmits the data according to the outgoing interface ID of the processed data. Here, the processed data can be transferred to the designated interface card PIC to complete the data forwarding.
[43] 为进一步描述本发明实施方式, 现结合具体的实施例对其技术方案作进一步说 明:  [43] In order to further describe the embodiments of the present invention, the technical solutions thereof will be further described in conjunction with specific embodiments:
[44] 如图 4为本发明实施例在高端路由器的转发系统中的整体示意图, 图中:  4 is a schematic diagram of an overall embodiment of a forwarding system of a high-end router according to an embodiment of the present invention, where:
[45] 转发平面 FP包括 2个或 2个以上的转发引擎 FE, 交换网, 公共资源管理模块和 统一的流量管理模块 (即统一的 TM模块) , 其数据转发过程为:  [45] Forwarding plane FP includes two or more forwarding engines FE, switching network, common resource management module and unified traffic management module (ie, unified TM module). The data forwarding process is as follows:
[46] 首先, 接口卡 PIC传送进来数据, 由交换网负责将数据传送到转发平面中的转 发引擎 FE; 然后控制平面 CP对数据的各种协议进行处理, 生成转发用的表项, 下发到转发平面 FP中, 转发平面 FP中的公共资源管理模块査找转发数据所需的 相应表项内容。 [46] First, the interface card PIC transmits incoming data, and the switching network is responsible for transmitting data to the forwarding plane. The engine is configured to process the various protocols of the data, and the forwarding entry is sent to the forwarding plane FP. The common resource management module in the forwarding plane FP searches for the corresponding entry required for forwarding the data. content.
[47] 同吋, 交换网将数据传送到转发引擎 FE吋, 与转发引擎 FE之间会产生交互, 査找出转发平面 FP中每个转发引擎 FE的使能状态和负载情况等信息, 根据这些 信息从转发平面 FP所包含的 2个或 2个以上的转发引擎 FE中, 选择至少一个转发 引擎 FE对数据进行处理。 具体来说就是, 交换网将数据传送到转发引擎后, 与 转发引擎之间会产生交互, gp: 转发引擎 FE提供本引擎的使能状态和负载等转 发引擎信息, 交换网实吋获取这些信息; 然后根据这些信息按照一定的算法策 略选择最优的转发引擎, 例如, 所选的算法策略可以是选择可用的转发引擎中 当前负载最小的转发引擎。 另外, 数据也可以被分发到不同的多个转发引擎中 进行处理, 这里转发弓 I擎的负载状态等信息是由转发弓 I擎自己根据当吋的处理 能力实吋进行改变的, 交换网在知道系统中每个转发引擎 FE的转发引擎信息, 如使能状态和负载情况等信息后, 再选择至少一个转发弓 I擎 FE对数据进行处理 , 选择的策略如上所述, 这样就可以实现转发引擎 FE的负载分担和备份, 同吋 还可以提高转发性能和可靠性, 有效解决了单转发引擎 FE的故障和性能问题。  [47] At the same time, the switching network transmits data to the forwarding engine FE, and generates an interaction with the forwarding engine FE, and finds information such as the enabling status and load status of each forwarding engine FE in the forwarding plane FP, according to The information is selected from at least one of the two or more forwarding engines FE included in the forwarding plane FP to process the data. Specifically, after the switching network transmits data to the forwarding engine, an interaction occurs with the forwarding engine. gp: The forwarding engine FE provides forwarding engine information such as an enabled state and a load of the engine, and the switching network obtains the information. Then, according to the information, an optimal forwarding engine is selected according to a certain algorithm strategy. For example, the selected algorithm strategy may be to select a forwarding engine with the lowest current load among the available forwarding engines. In addition, the data can also be distributed to different forwarding engines for processing. Here, the information such as the load status of the forwarding engine is changed by the forwarding engine itself according to the processing capability of the current network. Knowing the forwarding engine information of each forwarding engine FE in the system, such as enabling status and load status, and then selecting at least one forwarding engine to process the data, the selected strategy is as described above, so that forwarding can be implemented. The load sharing and backup of the engine FE can improve the forwarding performance and reliability, and effectively solve the fault and performance problems of the single forwarding engine FE.
[48] 选定的转发引擎 FE在对数据进行处理后, 会将处理后的数据传送交换网, 交换 网根据数据的出接口 ID, 将数据传送到指定的接口卡 PIC, 完成对数据的转发。  [48] After the selected forwarding engine FE processes the data, it will transfer the processed data to the switching network. The switching network transmits the data to the designated interface card PIC according to the outbound interface ID of the data, and completes the forwarding of the data. .
[49] 另外的, 在数据的转发过程中, 由一个统一的流量管理模块对传输质量 QoS进 行控制, 这样可以减少流量管理模块的数量, 节省了硬件资源。  [49] In addition, in the data forwarding process, the transmission quality QoS is controlled by a unified traffic management module, which can reduce the number of traffic management modules and save hardware resources.
[50] 综上所述, 本发明实施例可以解决单转发引擎 FE无法支撑高带宽接入的问题, 并实现了转发引擎 FE的负载分担和备份, 既提高了转发的可靠性, 又解决了单 转发引擎 FE的故障和性能问题; 同吋通过公共资源的整合管理, 和流量管理模 块对 QoS的统一管理, 可以减少相应的模块数量, 节省了硬件资源。  [50] In summary, the embodiment of the present invention can solve the problem that the single forwarding engine FE cannot support high-bandwidth access, and implement load sharing and backup of the forwarding engine FE, which improves the reliability of forwarding and solves the problem. Faults and performance problems of the single-forwarding engine FE; peer-to-peer management through common resources, and unified management of QoS by the traffic management module can reduce the number of modules and save hardware resources.
[51] 以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内, 可轻 易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保 护范围应该以权利要求的保护范围为准。  The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art may within the technical scope disclosed by the embodiments of the present invention. Changes or substitutions that are easily conceived are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
[1] 1、 一种数据转发系统, 其特征在于, 包括:  [1] 1. A data forwarding system, comprising:
2个或 2个以上的转发引擎, 其中转发引擎 FE用于对传送来的数据进行处理 交换网, 用于和所述转发引擎进行交互, 选择至少一个转发引擎对数据进 行处理, 并转发处理后的数据。  Two or more forwarding engines, wherein the forwarding engine FE is configured to process the transmitted data to exchange with the forwarding engine, select at least one forwarding engine to process the data, and forward the processing. The data.
[2] 2、 如权利要求 1所述的数据转发系统, 其特征在于, 还包括: [2] The data forwarding system of claim 1, further comprising:
流量管理模块, 用于在所述转发弓 I擎对数据进行处理和所述交换网对数据 进行转发的过程中, 对传输质量 QOS进行统一控制。  The traffic management module is configured to perform unified control on the transmission quality QOS in the process of processing the data by the forwarding engine and forwarding the data by the switching network.
[3] 3、 如权利要求 1所述的数据转发系统, 其特征在于, 还包括: [3] The data forwarding system of claim 1, further comprising:
公共资源管理模块: 用于在所述转发引擎对数据进行处理和所述交换网对 数据进行转发的过程中, 对公共资源进行统一的管理。  The common resource management module is configured to perform unified management on the public resources in the process of processing the data by the forwarding engine and forwarding the data by the switching network.
[4] 4、 如权利要求 1所述的数据转发系统, 其特征在于, 所述的 2个或 2个以上 的转发引擎, 包括: 1个固定的转发引擎, 和 [4] 4. The data forwarding system according to claim 1, wherein the two or more forwarding engines include: a fixed forwarding engine, and
1个或多个增加的转发引擎扣卡。  One or more added forwarding engine cards.
[5] 5、 如权利要求 1所述的数据转发系统, 其特征在于, 还包括接口卡, 所述 的接口卡和所述交换网相连, 用于数据的流进和流出。 [5] The data forwarding system according to claim 1, further comprising an interface card, wherein the interface card is connected to the switching network, and is used for data in and out.
[6] 6、 如权利要求 3所述的数据转发系统, 其特征在于, 所述的公共资源管理 模块包括: [6] 6. The data forwarding system according to claim 3, wherein the common resource management module comprises:
査表模块: 用于査找转发数据用的表项内容;  Table lookup module: used to find the contents of the table items used for forwarding data;
计数模块: 用于在对数据处理的过程中, 对处理数据的个数、 长度进行计 数。  Counting module: Used to count the number and length of processed data during data processing.
[7] 7、 一种数据转发方法, 其特征在于, 包括:  [7] 7. A data forwarding method, comprising:
获取多个转发引擎的转发引擎信息;  Obtain forwarding engine information of multiple forwarding engines;
根据所述转发引擎信息选择所述多个转发引擎中的至少一个转发引擎对数 据进行处理, 并转发处理后的数据。  Selecting at least one of the plurality of forwarding engines to process data according to the forwarding engine information, and forwarding the processed data.
[8] 8、 如权利要求 7所述的数据转发方法, 其特征在于, 所述转发引擎信息为 转发引擎的使能状态和负载情况信息。 [8] 8. The data forwarding method according to claim 7, wherein the forwarding engine information is an enabling state and load situation information of the forwarding engine.
[9] 9、 如权利要求 7所述的转发方法, 其特征在于, 所述对数据进行处理和转 发的过程包括: 对传输质量进行控制。 [9] The forwarding method according to claim 7, wherein the processing and forwarding of the data comprises: controlling transmission quality.
[10] 10、 如权利要求 7所述的转发方法, 其特征在于, 所述对数据进行处理和转 发的过程包括: 对公共资源进行统一的管理。 [10] The forwarding method according to claim 7, wherein the processing and forwarding of the data comprises: performing unified management on the public resources.
PCT/CN2008/070995 2007-06-07 2008-05-16 A system and method for data forwarding WO2008148330A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710100302.6 2007-06-07
CN2007101003026A CN101060487B (en) 2007-06-07 2007-06-07 A data forwarding system and method

Publications (1)

Publication Number Publication Date
WO2008148330A1 true WO2008148330A1 (en) 2008-12-11

Family

ID=38866386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070995 WO2008148330A1 (en) 2007-06-07 2008-05-16 A system and method for data forwarding

Country Status (2)

Country Link
CN (1) CN101060487B (en)
WO (1) WO2008148330A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2621129A4 (en) * 2011-01-14 2013-07-31 Huawei Tech Co Ltd Data forwarding method and router

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377205A (en) * 2018-02-22 2018-08-07 赛特斯信息科技股份有限公司 Optimize the system and method for NFV data forwarding performances

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030137980A1 (en) * 2002-01-21 2003-07-24 Chung-Ji Jung Router system and method of duplicating forwarding engine
CN1677952A (en) * 2004-03-30 2005-10-05 武汉烽火网络有限责任公司 Method and apparatus for wire speed parallel forwarding of packets
CN1706160A (en) * 2003-01-13 2005-12-07 思科技术公司 Method and system for optimized switchover of redundant forwarding engines
CN1711730A (en) * 2002-10-17 2005-12-21 思科技术公司 Method and system for providing redundancy within a network element

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1235157C (en) * 2002-10-10 2006-01-04 华为技术有限公司 Content-oriented load equalizing method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030137980A1 (en) * 2002-01-21 2003-07-24 Chung-Ji Jung Router system and method of duplicating forwarding engine
CN1711730A (en) * 2002-10-17 2005-12-21 思科技术公司 Method and system for providing redundancy within a network element
CN1706160A (en) * 2003-01-13 2005-12-07 思科技术公司 Method and system for optimized switchover of redundant forwarding engines
CN1677952A (en) * 2004-03-30 2005-10-05 武汉烽火网络有限责任公司 Method and apparatus for wire speed parallel forwarding of packets

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2621129A4 (en) * 2011-01-14 2013-07-31 Huawei Tech Co Ltd Data forwarding method and router
EP2621129A1 (en) * 2011-01-14 2013-07-31 Huawei Technologies Co., Ltd. Data forwarding method and router
US9118546B2 (en) 2011-01-14 2015-08-25 Huawei Technologies Co., Ltd. Data forwarding method and router

Also Published As

Publication number Publication date
CN101060487A (en) 2007-10-24
CN101060487B (en) 2011-04-06

Similar Documents

Publication Publication Date Title
US7639605B2 (en) System and method for detecting and recovering from virtual switch link failures
CN111740899B (en) ARP request message forwarding method, cross-device link aggregation group and network device
US9143439B2 (en) System and method for cluster link aggregation control in a network environment
WO2018188425A1 (en) Vxlan single-homing and dual-homing hybrid access method and apparatus, pe device and storage medium
CN101325497B (en) Autonegotiation over an interface for which no autonegotiation standard exists
CN102075343B (en) An out-of-band management realization method, a system for the same and an out-of-band management switch
WO2009023996A1 (en) Method for implementing network interconnect via link aggregation
US9998366B2 (en) System, method and device for forwarding packet
WO2012065336A1 (en) Device-level redundancy protection method and system based on link aggregation control protocol
CN112615778B (en) Message forwarding method, device, router, storage medium and system
WO2009003374A1 (en) Data communication system, switching network board and method
WO2012106892A1 (en) Method, apparatus and system for processing service flow
CN107465613B (en) Link aggregation interface communication state switching method and device
WO2014059867A1 (en) Method and device for flow path negotiation in link aggregation group
CN109218232B (en) Method, equipment and system for realizing Mux machine
US11582113B2 (en) Packet transmission method, apparatus, and system utilizing keepalive packets between forwarding devices
WO2010135987A1 (en) Link aggregation method and apparatus
US20160205033A1 (en) Pool element status information synchronization method, pool register, and pool element
WO2014075216A1 (en) Method and network device for establishing virtual cluster
WO2012048585A1 (en) Switching method and router
CN107154896B (en) Data transmission method and forwarding equipment
WO2011009248A1 (en) Data processing method, line card and main control board based on the main control board switch
WO2011113395A2 (en) A method and apparatus for load balance
CN112311448B (en) Satellite network acceleration system based on virtual machine
CN109150709B (en) Method, equipment and system for realizing Mux machine

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

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

Country of ref document: EP

Kind code of ref document: A1