WO2011017964A1 - Forwarding equipment and method thereof - Google Patents

Forwarding equipment and method thereof Download PDF

Info

Publication number
WO2011017964A1
WO2011017964A1 PCT/CN2010/073458 CN2010073458W WO2011017964A1 WO 2011017964 A1 WO2011017964 A1 WO 2011017964A1 CN 2010073458 W CN2010073458 W CN 2010073458W WO 2011017964 A1 WO2011017964 A1 WO 2011017964A1
Authority
WO
WIPO (PCT)
Prior art keywords
user data
data
forwarding
protocol
packet
Prior art date
Application number
PCT/CN2010/073458
Other languages
French (fr)
Chinese (zh)
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 WO2011017964A1 publication Critical patent/WO2011017964A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Definitions

  • the present invention relates to the field of communications, and in particular to a forwarding device and method.
  • BACKGROUND With the rapid development of the Internet, the current IP network has been widely commercialized on a large scale, and the scale and number of users of the commercial network are continuously and rapidly developed, and accordingly, more and more new services and new functions are coming. Being introduced into the network, the control plane becomes more and more complex. The scalability of the Network Control Plane, Data Plane, and Management Plane has become a major challenge in the evolution of IP networks. However, the flaws in IP network architecture design have greatly limited network capacity, network scalability, controllability, security, and QOS. In the current IP network, the control plane and the data plane are integrated into the same network node.
  • FIG. 1 is a schematic diagram of an ISCP network structure according to the related art. As shown in FIG. 1, an ISCP structure separates a control plane, a data plane, and a management plane.
  • the control plane is composed of a plurality of control elements (Control Element, referred to as CE) and services.
  • Control Service Element is used to control and manage the operation of all network protocols, including route calculation, routing, and service processing.
  • the data plane is composed of a plurality of forwarding elements (FEs) and a service processing element (SPE), which are mainly used for classifying and forwarding service data.
  • the management plane is composed of a Management Element (ME) device, which is used to manage network entities such as CEs and FEs.
  • ME Management Element
  • the ME monitors and collects static information and status information of each NE, and based on the information.
  • the configuration command manages each NE. For the model of FE in the related art, there is no corresponding technical solution to describe its structure.
  • the present invention has been made in view of the problem of describing the structure of a FE model without a corresponding technical solution in the related art. To this end, it is a primary object of the present invention to provide a forwarding apparatus and method to solve the above problems.
  • a forwarding device includes: a message parsing module, configured to receive and parse data, classify the parsed data according to protocol packet data and user data, and output the classified protocol packet data to the protocol packet processing module.
  • the classified user data is output to the user data packet processing module; the protocol packet processing module is configured to forward the protocol packet data provided by the packet parsing module; and the forwarding information database table is configured to store the user data forwarding information;
  • the user data packet processing module is configured to process and forward the user data provided by the packet parsing module according to the user data forwarding information stored in the forwarding information base table.
  • the parsing module is further configured to perform integrity checking, input queue management, and congestion control on the data before parsing the data.
  • the user data packet processing module is further configured to query the forwarding information base to determine an output interface corresponding to the user data.
  • the user data processing module is further configured to perform segmentation, shaping, and output queue management on the user data.
  • the protocol file processing module is further configured to classify the protocol text data, and redirect the protocol message to the corresponding control network element according to the classification result.
  • the foregoing apparatus further includes: a receiving module, configured to receive routing information base information from the control network element; and an updating module, configured to update user data forwarding information in the forwarding information base table according to the routing information base information received by the receiving module. .
  • the user data forwarding information stored in the forwarding information base table includes at least one of the following: a destination address, a subnet mask, a next hop, and an outbound interface.
  • a forwarding method includes: receiving and parsing data, classifying the parsed data according to protocol packet data and user data; forwarding the classified protocol packet data; and classifying according to the stored user data forwarding information User data is processed and forwarded.
  • the forwarding of the protocol packet data obtained by the classification includes: classifying the protocol packet data obtained by the classification, and redirecting the protocol packet to the corresponding control network element according to the classification result.
  • the method further includes: receiving routing information base information from the control network element, and updating the stored user data forwarding information according to the routing information base information.
  • the user data forwarding information includes at least one of the following: a destination address, a subnet mask, a next megabyte, and an outbound interface.
  • the present invention provides a forwarding device including a message parsing module, a protocol packet processing module, a user data packet processing module, and a forwarding information database table, and solves the problem that the corresponding technical solution does not have a corresponding technical solution for the structure of the FE model. The problem described, and thus the FE model.
  • FIG. 1 is a schematic diagram of an iSCP network structure according to the related art
  • FIG. 2 is a schematic diagram of a forwarding device (ie, an iSCP network FE model) according to an embodiment of the present invention
  • FIG. 3 is a forwarding of an embodiment of the present invention. A flowchart of the method
  • Embodiment 1 According to Embodiment 1 of the present invention, a forwarding device is provided. As shown in FIG.
  • the device ie, the ISCP network data forwarding network element device
  • the device includes: 4 ⁇ analysing module 2, protocol 4 ⁇ ⁇ processing module 4, user data 4 ⁇ ⁇ processing module 6 and forwarding information library (Forwarding) Information Base (referred to as FIB) Table 8.
  • the message parsing module 2 is configured to receive data and parse the data, classify the parsed data according to protocol packet data and user data, and provide protocol packet data and user data obtained after classification, that is, protocol report The data is forwarded to the protocol packet processing module 4 to process the protocol packet, and the user data is forwarded to the user data packet processing module 6 for processing.
  • the protocol processing module 4 is connected to the text parsing module 2, and is configured to forward the protocol packet data provided by the text parsing module 2, that is, classify the protocol packets, and redirect different protocol packets to different CEs. Provides related network information for the CE device to calculate routes.
  • the user data packet processing module 6 is connected to the message parsing module 2 for processing and forwarding the user data provided by the packet parsing module 2.
  • the FIB table 8 is configured to store user data forwarding information, where the user data forwarding information includes related destination address, subnet mask, next hop, and outbound interface. In order for the user data processing module 6 to query related information in the FIB when forwarding user data to guide the forwarding process of the user data.
  • the fourth parsing module 2 is further configured to perform integrity check, input queue management, congestion control, and the like on the received data before parsing the data.
  • the user data processing module 6 is further configured to query the forwarding information base to determine an output interface corresponding to the user data. If the user data is unicast data, the user data corresponds to an output interface. If the user data is multicast data, the user data corresponds to multiple output interfaces.
  • the user data processing module 6 can also be used for fragmentation, shaping and output queue management of user data to be forwarded.
  • the device further includes: a receiving module, configured to receive routing information base (RIB) information from the CE; and an update module, configured to update the device according to the routing information database information received by the receiving module User data forwarding information in FIB Table 8.
  • a forwarding device including a message parsing module, a protocol packet processing module, a user data packet processing module, and a forwarding information database table is provided, which solves the structure of the model in the related art without the corresponding technical solution for the FE. The problem of description is described, and the model of FE is further improved.
  • FIG. 3 is a flowchart of a forwarding method according to an embodiment of the present invention.
  • the method includes the following steps S302 to S306: Step S302, receiving and parsing data, and parsing the obtained data according to the protocol Data and user data are classified.
  • Step S304 forwarding the classified protocol data. Specifically, the protocol packet data obtained by the classification is classified, and the protocol packet is redirected to the corresponding control network element according to the classification result.
  • Step S306 processing and forwarding the classified user data according to the stored user data forwarding information.
  • the method further includes: receiving routing information base information from the control network element, and updating the stored user data forwarding information according to the routing information base information.
  • FIG. 4 is a flowchart of the data forwarding of the ISCP network in the embodiment of the present invention. As shown in FIG. 3, the method includes the following steps S402 to S414: Step S402: The FE device receives the packet sent by other devices. Step S404: The packet parsing module of the FE device parses the packet, and analyzes whether the packet belongs to the protocol packet or the data packet according to the port number and the protocol number in the packet.
  • Step S406 Determine whether the message is a protocol message. If the determination result is yes, proceed to step 4 to gather S410. If the determination result is no, proceed to step 4 to gather S408.
  • Step S408 The data packet is a user data packet, and the user data processing module forwarded to the FE device forwards the data, and the user data is forwarded according to the FIB table in the FE device.
  • Step S410 At this time, it is determined that the packet is a protocol packet, and is forwarded to the protocol packet processing mode of the FE. The block processes the protocol text.
  • Step S412 After the protocol 4 processing module receives the protocol 4, the protocol of the protocol 4 is classified and redirected to the corresponding CE device. Different protocols can be directed to different CE devices.
  • Step 4 gathers S414: The processing of the 4 ⁇ text is completed.
  • the foregoing embodiment provides a forwarding device including a packet parsing module, a protocol packet processing module, a user data packet processing module, and a forwarding information database table, which solves the corresponding problem in the related art.
  • the technical solution describes the structure of the model of the FE, and provides a forwarding method. When the model of the FE is perfected, the data is forwarded.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Abstract

A forwarding equipment and method are disclosed in the present invention. The forwarding equipment includes: a packet analysis module, used for analyzing data after receiving it, classifying the analyzed data into protocol packet data and user data, and providing the protocol packet data and the user data obtained by classification; a protocol packet processing module, used for forwarding the protocol packet data provided by the packet analysis module; a forwarding information base, used for storing user data forwarding information; a user data packet processing module, used for processing and forwarding, according to the user data forwarding information stored in the forwarding information base, the user data provided by the packet analysis module. The present invention improves the model of FE (Forwarding Element).

Description

转发装置及方法 技术领域 本发明涉及通信领域, 具体而言, 涉及一种转发装置及方法。 背景技术 随着互联网的飞速发展, 当前的 IP 网已广泛大规模的商用, 并且商用 网络的规模和用户数正持续快速的发展, 随之而来的是越来越多的新业务、 新功能被引入网络, 控制平面变得越来越复杂。 网络控制平面 (Control Plane )、 数据平面 ( Data Plane ) 和管理平面 ( Management Plane ) 的可扩展 性成为了 IP 网络演进过程面临的主要挑战。 但是, IP 网络架构设计的缺陷 极大限制了网络容量、 网络可扩展性、 可控性、 安全性及 QOS 等。 在当前 IP网中控制平面和数据平面集成于同一个网络节点, 因此, 当越来越多的业 务和控制信令被加入网络节点时, 使得整个网络异常复杂难以维护、 难于扩 展。 为应对以上网络问题, 目 前提出 了一种独立可扩展控制平面 ( independent Scalable Control Plane, 简称为 ISCP )技术, 该技术基于控制 转发分离的思想, 将控制平面从数据平面中分离出来, 各自维护, 以此减轻 网络扩容和控制能力上的压力, 增加了网络的健壮性。 图 1是根据相关技术的 ISCP网络结构的示意图, 如图 1所示, ISCP结 构将控制平面、数据平面和管理平面分离,控制平面由多个控制网元( Control Element,简称为 CE )和业务控制网元( Service Control Element,简称为 SCE ) 组成, 主要用于控制和管理所有网络协议的运行, 包括路由计算、 路由选择、 业务处理等。 数据平面由多个转发网元 ( Forwarding Element, 简称为 FE )、 业务处理网元( Service Processing Element, 简称为 SPE )组成, 主要用于完 成业务数据的分类和转发。 管理平面由管理网元 (Management Element, 简 称为 ME )设备组成, 用于管理 CE、 FE等网元的网络实体, ME监视并搜集 各网元的静态信息、 状态信息等, 并根据这些信息和配置命令对各网元进行 管理。 针对相关技术中 FE的模型, 目前尚没有相应的技术方案对其结构进行 描述。 发明内容 针对相关技术中没有相应的技术方案对 FE的模型的结构进行描述的问 题而提出本发明, 为此, 本发明的主要目的在于提供一种转发装置及方法, 以解决上述问题。 为了实现上述目的, 根据本发明的一个方面, 提供了一种转发装置。 根据本发明的转发装置包括: 报文解析模块, 用于接收并解析数据, 对 解析得到的数据按照协议报文数据和用户数据进行分类, 分类后的协议报文 数据输出至协议报文处理模块, 分类后的用户数据输出至用户数据报文处理 模块; 协议报文处理模块, 用于对报文解析模块提供的协议报文数据进行转 发; 转发信息库表, 用于存储用户数据转发信息; 用户数据报文处理模块, 用于根据转发信息库表存储的用户数据转发信息对报文解析模块提供的用户 数据进行处理和转发。 优选地, 艮文解析模块还用于在解析数据之前,对数据进行完整性检查、 输入队列管理以及拥塞控制。 优选地, 用户数据报文处理模块还用于查询转发信息库, 以确定用户数 据对应的输出接口, 如果用户数据为单播数据, 则用户数据对应一个输出接 口, 如果用户数据为组播数据, 则用户数据对应多个输出接口。 优选地, 用户数据 4艮文处理模块还用于对用户数据进行分片, 整形以及 输出队列管理。 优选地, 协议 文处理模块还用于对协议 文数据进行分类, 并艮据分 类结果将协议 4艮文重定向到相应的控制网元。 优选地, 上述装置还包括: 接收模块, 用于接收来自控制网元的路由信 息库信息; 更新模块, 用于根据接收模块接收到的路由信息库信息更新转发 信息库表中的用户数据转发信息。 优选地, 转发信息库表存储的用户数据转发信息至少包括以下之一: 目 的地址、 子网掩码、 下一跳、 出接口。 为了实现上述目的, 居本发明的另一个方面, 提供了一种转发方法。 根据本发明的转发方法包括: 接收并解析数据, 对解析得到的数据按照 协议报文数据和用户数据进行分类; 对分类得到的协议报文数据进行转发; 根据存储的用户数据转发信息对分类得到的用户数据进行处理和转发。 优选地, 对分类得到的协议报文数据进行转发包括: 对分类得到的协议 报文数据进行分类, 并根据分类结果将协议报文重定向到相应的控制网元。 优选地, 上述方法还包括: 接收来自控制网元的路由信息库信息, 并根 据路由信息库信息更新存储的用户数据转发信息。 优选地, 用户数据转发信息至少包括以下之一: 目的地址、 子网掩码、 下一兆、 出接口。 通过本发明, 提供了包括报文解析模块、 协议报文处理模块、 用户数据 报文处理模块和转发信息库表的转发装置, 解决了相关技术中没有相应的技 术方案对 FE的模型的结构进行描述的问题, 进而完善了 FE的模型。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据相关技术的 iSCP网络结构的示意图; 图 2是根据本发明实施例的转发装置(即, iSCP网络 FE模型)的示意 图; 图 3是 居本发明实施例的转发方法的流程图; 图 4是根据本发明实施例的 iSCP网络数据转发方法的详细流程图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 实施例一 根据本发明的实施例一,提供了一种转发装置。如图 2所示,该装置(即, ISCP网络数据转发网元装置) 包括: 4艮文解析模块 2、 协议 4艮文处理模块 4、 用户数据 4艮文处理模块 6和转发信息库 ( Forwarding information Base , 简称 为 FIB )表 8。 报文解析模块 2 , 用于接收数据并对数据进行解析, 将解析得到的数据 按照协议报文数据和用户数据进行分类, 并提供分类后得到的协议报文数据 和用户数据, 即, 协议报文数据转发到协议报文处理模块 4对协议报文进行 处理, 用户数据转发到用户数据报文处理模块 6进行处理。 协议 文处理模块 4 , 连接至 文解析模块 2 , 用于对 文解析模块 2 提供的协议报文数据进行转发, 即, 对协议报文进行分类, 不同的协议报文 重定向到不同的 CE , 以提供 CE设备计算路由的相关网络信息。 用户数据报文处理模块 6 , 连接至报文解析模块 2 , 用于对报文解析模 块 2提供的用户数据进行处理和转发。 FIB表 8 , 用于存储用户数据转发信息, 其中, 用户数据转发信息包括 相关的目的地址、 子网掩码、 下一跳、 出接口等信息。 以便用户数据处理模 块 6在转发用户数据时查询 FIB中的相关信息以指导用户数据的转发处理。 优选地, 4艮文解析模块 2还可以用于在解析所述数据之前, 对接收到的 数据进行完整性检查、 输入队列管理以及拥塞控制等。 优选地, 用户数据 4艮文处理模块 6还可以用于查询转发信息库, 以确定 所述用户数据对应的输出接口, 如果所述用户数据为单播数据, 则所述用户 数据对应一个输出接口, 如果所述用户数据为组播数据, 则所述用户数据对 应多个输出接口。 优选地,用户数据 4艮文处理模块 6还可以用于对待转发的用户数据进行 分片, 整形以及输出队列管理。 此外, 该装置还包括: 接收模块, 用于接收来自 CE 的路由信息库 ( Routing Information Base, 简称为 RIB )信息; 更新模块, 用于才艮据接收模 块接收到的路由信息库信息更新本设备的 FIB表 8中的用户数据转发信息。 通过该实施例, 提供了包括报文解析模块、 协议报文处理模块、 用户数 据报文处理模块和转发信息库表的转发装置, 解决了相关技术中没有相应的 技术方案对 FE的模型的结构进行描述的问题, 进而完善了 FE的模型。 实施例二 才艮据本发明的实施例二, 提供了一种转发方法, 即, ISCP 网络数据转 发方法, 该方法可以用于实现上述的转发装置。 图 3是 居本发明实施例的 转发方法的流程图, 如图 3所示, 该方法包括如下的步骤 S302至步骤 S306: 步骤 S302, 接收并解析数据, 对解析得到的数据按照协议 4艮文数据和 用户数据进行分类。 步骤 S304, 对分类得到的协议 4艮文数据进行转发。 具体地, 对分类得 到的协议报文数据进行分类, 并根据分类结果将协议报文重定向到相应的控 制网元。 步骤 S306 , 根据存储的用户数据转发信息对分类得到的用户数据进行 处理和转发。 此外, 该方法中还包括: 接收来自控制网元的路由信息库信息, 并根据路由信息库信息更新存储的用户数据转发信息。 下面将结合实例对本发明实施例的实现过程进行详细描述。 图 4是 居本发明实施例的 ISCP网络数据转发流程图, 如图 3所示, 包括如下的步骤 S402至步骤 S414: 步骤 S402: FE设备接收到了其他设备发送过来的报文。 步骤 S404: FE设备的报文解析模块对报文进行解析, 根据报文中的端 口号、 协议号等属性分析该报文属于协议报文还是数据报文。 步骤 S406: 判断该报文是否为协议报文, 如果判断结果为是, 则进行 到步 4聚 S410 , 如果判断结果为否, 则进行到步 4聚 S408。 步骤 S408: 此时数据报文为用户数据报文, 转发到 FE设备的用户数据 处理模块对该数据进行转发处理,用户数据的转发需要根据 FE设备中的 FIB 表进行转发。 步骤 S410: 此时判断该报文为协议报文, 转发到 FE的协议报文处理模 块对该协议 文进行处理。 步骤 S412: 协议 4艮文处理模块收到该协议 4艮文后, 居协议 4艮文的协 议进行分类, 并重定向到相应的 CE设备。 对于不同的协议艮文, 定向到不 同的 CE设备, 这样可以减轻 CE设备的负载, 提高网络的健壮性。 步 4聚 S414: 完成对该 4艮文的处理。 综上所述, 通过本发明的上述实施例, 提供了包括报文解析模块、 协议 报文处理模块、 用户数据报文处理模块和转发信息库表的转发装置, 解决了 相关技术中没有相应的技术方案对 FE 的模型的结构进行描述的问题, 并且 提供了转发方法, 在完善了 FE的模型的同时, 实现了数据的转发。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a forwarding device and method. BACKGROUND With the rapid development of the Internet, the current IP network has been widely commercialized on a large scale, and the scale and number of users of the commercial network are continuously and rapidly developed, and accordingly, more and more new services and new functions are coming. Being introduced into the network, the control plane becomes more and more complex. The scalability of the Network Control Plane, Data Plane, and Management Plane has become a major challenge in the evolution of IP networks. However, the flaws in IP network architecture design have greatly limited network capacity, network scalability, controllability, security, and QOS. In the current IP network, the control plane and the data plane are integrated into the same network node. Therefore, when more and more service and control signaling are added to the network node, the entire network is extremely complicated and difficult to maintain and difficult to expand. In order to cope with the above network problems, an independent scalable control plane (ISCP) technology is proposed. This technology is based on the idea of controlling forwarding separation, separating the control planes from the data plane and maintaining them. This reduces the pressure on network expansion and control capabilities and increases the robustness of the network. 1 is a schematic diagram of an ISCP network structure according to the related art. As shown in FIG. 1, an ISCP structure separates a control plane, a data plane, and a management plane. The control plane is composed of a plurality of control elements (Control Element, referred to as CE) and services. Control Service Element (SCE) is used to control and manage the operation of all network protocols, including route calculation, routing, and service processing. The data plane is composed of a plurality of forwarding elements (FEs) and a service processing element (SPE), which are mainly used for classifying and forwarding service data. The management plane is composed of a Management Element (ME) device, which is used to manage network entities such as CEs and FEs. The ME monitors and collects static information and status information of each NE, and based on the information. The configuration command manages each NE. For the model of FE in the related art, there is no corresponding technical solution to describe its structure. SUMMARY OF THE INVENTION The present invention has been made in view of the problem of describing the structure of a FE model without a corresponding technical solution in the related art. To this end, it is a primary object of the present invention to provide a forwarding apparatus and method to solve the above problems. In order to achieve the above object, according to an aspect of the present invention, a forwarding device is provided. The forwarding device according to the present invention includes: a message parsing module, configured to receive and parse data, classify the parsed data according to protocol packet data and user data, and output the classified protocol packet data to the protocol packet processing module. The classified user data is output to the user data packet processing module; the protocol packet processing module is configured to forward the protocol packet data provided by the packet parsing module; and the forwarding information database table is configured to store the user data forwarding information; The user data packet processing module is configured to process and forward the user data provided by the packet parsing module according to the user data forwarding information stored in the forwarding information base table. Preferably, the parsing module is further configured to perform integrity checking, input queue management, and congestion control on the data before parsing the data. Preferably, the user data packet processing module is further configured to query the forwarding information base to determine an output interface corresponding to the user data. If the user data is unicast data, the user data corresponds to an output interface, and if the user data is multicast data, The user data corresponds to multiple output interfaces. Preferably, the user data processing module is further configured to perform segmentation, shaping, and output queue management on the user data. Preferably, the protocol file processing module is further configured to classify the protocol text data, and redirect the protocol message to the corresponding control network element according to the classification result. Preferably, the foregoing apparatus further includes: a receiving module, configured to receive routing information base information from the control network element; and an updating module, configured to update user data forwarding information in the forwarding information base table according to the routing information base information received by the receiving module. . Preferably, the user data forwarding information stored in the forwarding information base table includes at least one of the following: a destination address, a subnet mask, a next hop, and an outbound interface. In order to achieve the above object, in another aspect of the present invention, a forwarding method is provided. The forwarding method according to the present invention includes: receiving and parsing data, classifying the parsed data according to protocol packet data and user data; forwarding the classified protocol packet data; and classifying according to the stored user data forwarding information User data is processed and forwarded. Preferably, the forwarding of the protocol packet data obtained by the classification includes: classifying the protocol packet data obtained by the classification, and redirecting the protocol packet to the corresponding control network element according to the classification result. Preferably, the method further includes: receiving routing information base information from the control network element, and updating the stored user data forwarding information according to the routing information base information. Preferably, the user data forwarding information includes at least one of the following: a destination address, a subnet mask, a next megabyte, and an outbound interface. The present invention provides a forwarding device including a message parsing module, a protocol packet processing module, a user data packet processing module, and a forwarding information database table, and solves the problem that the corresponding technical solution does not have a corresponding technical solution for the structure of the FE model. The problem described, and thus the FE model. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of an iSCP network structure according to the related art; FIG. 2 is a schematic diagram of a forwarding device (ie, an iSCP network FE model) according to an embodiment of the present invention; FIG. 3 is a forwarding of an embodiment of the present invention. A flowchart of the method; FIG. 4 is a detailed flowchart of an iSCP network data forwarding method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. Embodiment 1 According to Embodiment 1 of the present invention, a forwarding device is provided. As shown in FIG. 2, the device (ie, the ISCP network data forwarding network element device) includes: 4 解析 analysing module 2, protocol 4 处理 处理 processing module 4, user data 4 艮 处理 processing module 6 and forwarding information library (Forwarding) Information Base (referred to as FIB) Table 8. The message parsing module 2 is configured to receive data and parse the data, classify the parsed data according to protocol packet data and user data, and provide protocol packet data and user data obtained after classification, that is, protocol report The data is forwarded to the protocol packet processing module 4 to process the protocol packet, and the user data is forwarded to the user data packet processing module 6 for processing. The protocol processing module 4 is connected to the text parsing module 2, and is configured to forward the protocol packet data provided by the text parsing module 2, that is, classify the protocol packets, and redirect different protocol packets to different CEs. Provides related network information for the CE device to calculate routes. The user data packet processing module 6 is connected to the message parsing module 2 for processing and forwarding the user data provided by the packet parsing module 2. The FIB table 8 is configured to store user data forwarding information, where the user data forwarding information includes related destination address, subnet mask, next hop, and outbound interface. In order for the user data processing module 6 to query related information in the FIB when forwarding user data to guide the forwarding process of the user data. Preferably, the fourth parsing module 2 is further configured to perform integrity check, input queue management, congestion control, and the like on the received data before parsing the data. Preferably, the user data processing module 6 is further configured to query the forwarding information base to determine an output interface corresponding to the user data. If the user data is unicast data, the user data corresponds to an output interface. If the user data is multicast data, the user data corresponds to multiple output interfaces. Preferably, the user data processing module 6 can also be used for fragmentation, shaping and output queue management of user data to be forwarded. In addition, the device further includes: a receiving module, configured to receive routing information base (RIB) information from the CE; and an update module, configured to update the device according to the routing information database information received by the receiving module User data forwarding information in FIB Table 8. With this embodiment, a forwarding device including a message parsing module, a protocol packet processing module, a user data packet processing module, and a forwarding information database table is provided, which solves the structure of the model in the related art without the corresponding technical solution for the FE. The problem of description is described, and the model of FE is further improved. Embodiment 2 According to the second embodiment of the present invention, a forwarding method, that is, an ISCP network data forwarding method, is provided, and the method can be used to implement the foregoing forwarding device. FIG. 3 is a flowchart of a forwarding method according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps S302 to S306: Step S302, receiving and parsing data, and parsing the obtained data according to the protocol Data and user data are classified. Step S304, forwarding the classified protocol data. Specifically, the protocol packet data obtained by the classification is classified, and the protocol packet is redirected to the corresponding control network element according to the classification result. Step S306, processing and forwarding the classified user data according to the stored user data forwarding information. In addition, the method further includes: receiving routing information base information from the control network element, and updating the stored user data forwarding information according to the routing information base information. The implementation process of the embodiment of the present invention will be described in detail below with reference to examples. FIG. 4 is a flowchart of the data forwarding of the ISCP network in the embodiment of the present invention. As shown in FIG. 3, the method includes the following steps S402 to S414: Step S402: The FE device receives the packet sent by other devices. Step S404: The packet parsing module of the FE device parses the packet, and analyzes whether the packet belongs to the protocol packet or the data packet according to the port number and the protocol number in the packet. Step S406: Determine whether the message is a protocol message. If the determination result is yes, proceed to step 4 to gather S410. If the determination result is no, proceed to step 4 to gather S408. Step S408: The data packet is a user data packet, and the user data processing module forwarded to the FE device forwards the data, and the user data is forwarded according to the FIB table in the FE device. Step S410: At this time, it is determined that the packet is a protocol packet, and is forwarded to the protocol packet processing mode of the FE. The block processes the protocol text. Step S412: After the protocol 4 processing module receives the protocol 4, the protocol of the protocol 4 is classified and redirected to the corresponding CE device. Different protocols can be directed to different CE devices. This can reduce the load on the CE device and improve the robustness of the network. Step 4 gathers S414: The processing of the 4 艮 text is completed. In summary, the foregoing embodiment provides a forwarding device including a packet parsing module, a protocol packet processing module, a user data packet processing module, and a forwarding information database table, which solves the corresponding problem in the related art. The technical solution describes the structure of the model of the FE, and provides a forwarding method. When the model of the FE is perfected, the data is forwarded. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 一种转发装置, 其特征在于, 包括: Claims A forwarding device, characterized in that it comprises:
报文解析模块, 用于接收并解析数据, 对解析得到的所述数据按照 协议报文数据和用户数据进行分类, 分类后的所述协议报文数据输出至 协议报文处理模块, 分类后的所述用户数据输出至用户数据报文处理模 块;  a packet parsing module, configured to receive and parse data, and classify the parsed data according to protocol packet data and user data, and the classified protocol packet data is output to a protocol packet processing module, and the classified The user data is output to a user data packet processing module;
协议 4艮文处理模块,用于对所述 4艮文解析模块提供的所述协议 4艮文 数据进行转发;  a protocol processing module, configured to forward the data of the protocol provided by the parsing module;
转发信息库, 用于存储用户数据转发信息;  a forwarding information base for storing user data forwarding information;
用户数据报文处理模块,用于根据所述转发信息库存储的所述用户 数据转发信息对所述报文解析模块提供的所述用户数据进行处理和转 发。 根据权利要求 1所述的装置, 其特征在于, 所述报文解析模块还用于在 解析所述数据之前, 对所述数据进行完整性检查、 输入队列管理以及拥 塞控制。 根据权利要求 1所述的装置, 其特征在于, 所述用户数据报文处理模块 还用于查询转发信息库, 以确定所述用户数据对应的输出接口, 如果所 述用户数据为单播数据, 则所述用户数据对应一个输出接口, 如果所述 用户数据为组播数据, 则所述用户数据对应多个输出接口。 根据权利要求 1所述的装置, 其特征在于, 所述用户数据报文处理模块 还用于对所述用户数据进行分片, 整形以及输出队列管理。 根据权利要求 1所述的装置, 其特征在于, 所述协议报文处理模块还用 于对所述协议报文数据进行分类, 并根据分类结果将所述协议报文重定 向到相应的控制网元。 The user data packet processing module is configured to process and forward the user data provided by the packet parsing module according to the user data forwarding information stored in the forwarding information repository. The device according to claim 1, wherein the message parsing module is further configured to perform integrity check, input queue management, and congestion control on the data before parsing the data. The apparatus according to claim 1, wherein the user data packet processing module is further configured to query a forwarding information base to determine an output interface corresponding to the user data, and if the user data is unicast data, The user data corresponds to an output interface. If the user data is multicast data, the user data corresponds to multiple output interfaces. The apparatus according to claim 1, wherein the user data packet processing module is further configured to perform fragmentation, shaping, and output queue management on the user data. The device according to claim 1, wherein the protocol packet processing module is further configured to classify the protocol packet data, and redirect the protocol packet to a corresponding control network according to the classification result. yuan.
6. 根据权利要求 1至 5中任一项所述的装置, 其特征在于, 还包括: 接收模块, 用于接收来自控制网元的路由信息库信息; 更新模块,用于根据所述接收模块接收到的所述路由信息库信息更 新所述转发信息库中的所述用户数据转发信息。 The device according to any one of claims 1 to 5, further comprising: a receiving module, configured to receive routing information base information from the control network element; and an updating module, configured to be configured according to the receiving module The received routing information database information updates the user data forwarding information in the forwarding information base.
7. 根据权利要求 1至 5中任一项所述的装置, 其特征在于, 所述转发信息 库存储的所述用户数据转发信息至少包括以下之一: 目的地址、 子网掩 码、 下一兆、 出接口。 The device according to any one of claims 1 to 5, wherein the user data forwarding information stored in the forwarding information library includes at least one of the following: a destination address, a subnet mask, and a next Mega, outgoing interface.
8. —种转发方法, 其特征在于, 包括: 8. A forwarding method, characterized in that it comprises:
接收并解析数据,对解析得到的所述数据按照协议报文数据和用户 数据进行分类;  Receiving and parsing data, and classifying the parsed data according to protocol message data and user data;
对分类得到的所述协议报文数据进行转发;  Forwarding the protocol packet data obtained by the classification;
根据存储的用户数据转发信息对分类得到的所述用户数据进行处 理和转发。  The user data obtained by the classification is processed and forwarded according to the stored user data forwarding information.
9. 居权利要求 8所述的方法, 其特征在于, 对分类得到的所述协议 4艮文 数据进行转发包括: 9. The method of claim 8, wherein forwarding the classified data of the protocol comprises:
对分类得到的所述协议报文数据进行分类,并根据分类结果将所述 协议 4艮文重定向到相应的控制网元。  And classifying the protocol packet data obtained by the classification, and redirecting the protocol packet to the corresponding control network element according to the classification result.
10. 根据权利要求 8或 9所述的方法, 其特征在于, 还包括: 10. The method according to claim 8 or 9, further comprising:
接收来自控制网元的路由信息库信息,并根据所述路由信息库信息 更新存储的所述用户数据转发信息。  Receiving routing information base information from the control network element, and updating the stored user data forwarding information according to the routing information base information.
11. 根据权利要求 8或 9所述的方法, 其特征在于, 所述用户数据转发信息 至少包括以下之一: 目的地址、 子网掩码、 下一跳、 出接口。 The method according to claim 8 or 9, wherein the user data forwarding information comprises at least one of the following: a destination address, a subnet mask, a next hop, and an outbound interface.
PCT/CN2010/073458 2009-08-11 2010-06-02 Forwarding equipment and method thereof WO2011017964A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910163364.0 2009-08-11
CN2009101633640A CN101997758A (en) 2009-08-11 2009-08-11 Forwarding device and method

Publications (1)

Publication Number Publication Date
WO2011017964A1 true WO2011017964A1 (en) 2011-02-17

Family

ID=43585923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073458 WO2011017964A1 (en) 2009-08-11 2010-06-02 Forwarding equipment and method thereof

Country Status (2)

Country Link
CN (1) CN101997758A (en)
WO (1) WO2011017964A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023773B (en) * 2011-09-23 2015-05-27 华为技术有限公司 Method, device and system for forwarding message in multi-topology network
CN103166866B (en) * 2011-12-12 2016-08-03 华为技术有限公司 Generate the method for list item, the method receiving message and related device and system
CN105681193A (en) * 2016-03-02 2016-06-15 付宏伟 Controller system for software defined network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1197356A (en) * 1997-03-28 1998-10-28 夏普株式会社 Receiver
CN1625151A (en) * 2003-12-01 2005-06-08 华为技术有限公司 Method for realizing IPv6 message flow sorting
CN1735068A (en) * 2004-08-11 2006-02-15 中兴通讯股份有限公司 Media transmission flow data transmitting method
EP1868333A1 (en) * 2006-06-15 2007-12-19 Siemens S.p.A. Method for packet classification based on the protocol type and on priorities

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1197356A (en) * 1997-03-28 1998-10-28 夏普株式会社 Receiver
CN1625151A (en) * 2003-12-01 2005-06-08 华为技术有限公司 Method for realizing IPv6 message flow sorting
CN1735068A (en) * 2004-08-11 2006-02-15 中兴通讯股份有限公司 Media transmission flow data transmitting method
EP1868333A1 (en) * 2006-06-15 2007-12-19 Siemens S.p.A. Method for packet classification based on the protocol type and on priorities

Also Published As

Publication number Publication date
CN101997758A (en) 2011-03-30

Similar Documents

Publication Publication Date Title
US11316783B2 (en) Method for forwarding packet and network device
US9954779B2 (en) Method, apparatus, and system for supporting flexible lookup keys in software-defined networks
CN107204867B (en) Information transmission method, device and system
US9426061B2 (en) Communication system, node, control device, communication method, and program
US9769054B2 (en) Network topology discovery method and system
Li et al. Source routing with protocol-oblivious forwarding (POF) to enable efficient e-health data transfers
US9479323B2 (en) Communication system, forwarding node, control device, communication control method, and program
US10361954B2 (en) Method and apparatus for processing modified packet
US9973400B2 (en) Network flow information collection method and apparatus
WO2014202030A1 (en) Network controller, switch and method for increasing openflow network capability
US10389618B2 (en) Distributing network path information in a network environment
KR101500251B1 (en) Communication system, node, packet forwarding method and computer-readable recording medium recording a program
Hu et al. Design and demonstration of SDN-based flexible flow converging with protocol-oblivious forwarding (POF)
WO2015027738A1 (en) Metadata transmission and receiving method, and ofls
WO2011017964A1 (en) Forwarding equipment and method thereof
WO2014067409A1 (en) Queue scheduling method, apparatus and system
WO2015010523A1 (en) Content name compression method and apparatus
KR101924712B1 (en) Method for transmitting packet and openflow switch
WO2023045403A1 (en) Gateway-based multi-channel route fast forwarding and intelligent routing method
WO2015131617A1 (en) Flow table processing method, device, openflow controller and openflow switch
WO2015035813A1 (en) Method and apparatus for reporting switch type
JP2016178530A (en) Communication system, communication terminal, communication method, and program
CN112235212B (en) Message forwarding method and programmable frame type switching equipment
US20240163208A1 (en) Packet processing method and apparatus, and storage medium and electronic apparatus
CN114745323A (en) Method and system for forwarding flow message

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

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

Country of ref document: EP

Kind code of ref document: A1