METHOD FOR GENERATING FORWARDING TABLE, AND FORWARDING DEVICE

    公开(公告)号:EP3468097A1

    公开(公告)日:2019-04-10

    申请号:EP16907810.2

    申请日:2016-07-06

    IPC分类号: H04L12/00

    摘要: Embodiments of the present invention provide a forwarding table generation method. The method includes: determining, by a forwarding device, a first timeslot set, where the first timeslot set includes multiple timeslots used when the forwarding device sends, to a first device by using a first flexible Ethernet group, multiple encoded data blocks generated by a physical coding sublayer; determining, by the forwarding device, a second timeslot set, where the second timeslot set includes multiple timeslots used when the forwarding device receives, by using a second FlexE group, the multiple encoded data blocks sent by a second device; and generating, by the forwarding device, a forwarding table, where the forwarding table includes a mapping relationship between the second FlexE group and the multiple timeslots included in the second timeslot set, and between the first FlexE group and the multiple timeslots included in the first timeslot set. According to the forwarding table generation method in the embodiments of the present invention, a FlexE client is forwarded by using a generated forwarding table, so as to reduce a transmission delay, and improve transmission efficiency.

    CLASSIFICATION METHOD AND DEVICE FOR PACKETS
    2.
    发明公开
    CLASSIFICATION METHOD AND DEVICE FOR PACKETS 有权
    KLASSIFIZIERUNGSVERFAHREN UND VORRICHTUNGFÜRPAKETE

    公开(公告)号:EP2582096A1

    公开(公告)日:2013-04-17

    申请号:EP10842861.6

    申请日:2010-06-28

    IPC分类号: H04L12/56

    CPC分类号: H04L47/2441

    摘要: Embodiments of the present invention provide a method and a device for classifying a packet, which relates to the field of communications technologies, so as to reduce rule duplication in a classification process and improve classification efficiency. The method for classifying a packet provided by the embodiment of the present invention includes: receiving a packet (201); searching for a rule matching the packet in at least one created decision tree, in which the decision tree is a decision tree created after an original rule set is divided based on a segmentation code (202); and classifying the packet according to a found rule (203). The method and the device provided in the embodiments of the present invention are applicable to a router.

    摘要翻译: 本发明的实施例提供了一种用于分类与通信技术领域相关的分组的方法和装置,以便减少分类过程中的规则重复并提高分类效率。 本发明实施例提供的分组分类方法包括:接收分组(201); 在至少一个创建的决策树中搜索与所述分组匹配的规则,其中所述决策树是根据分割代码(202)在原始规则集之后创建的决策树。 并根据找到的规则对分组进行分类(203)。 本发明实施例提供的方法和装置适用于路由器。

    METHOD FOR LOADING CODE AND NETWORK APPARATUS
    5.
    发明公开
    METHOD FOR LOADING CODE AND NETWORK APPARATUS 审中-公开
    VERFAHREN ZUM LADEN EINES CODES UND NETZWERKVORRICHTUNG

    公开(公告)号:EP3007064A1

    公开(公告)日:2016-04-13

    申请号:EP14878618.9

    申请日:2014-01-16

    IPC分类号: G06F9/45

    CPC分类号: G06F8/41 G06F9/445

    摘要: An embodiment of the present invention provides a code loading method, including: obtaining, by a control plane of a network apparatus, a process to be executed by a forwarding plane of the network apparatus and code that executes the process, where the code is described by using a high-level programming language; determining, by the control plane of the network apparatus, that service configuration information of the network apparatus corresponds to the code; compiling, by the control plane of the network apparatus, the code to generate compiled code; and loading, by the control plane of the network apparatus, the compiled code to the forwarding plane of the network apparatus. In addition, an embodiment of the present invention further provides a corresponding network apparatus. A new service may be deployed by using the foregoing technical solutions, which helps meet a requirement for a new service.

    摘要翻译: 本发明实施例提供了一种代码加载方法,包括:通过网络装置的控制平面获得由网络装置的转发平面执行的处理和执行该处理的代码,其中描述代码 通过使用高级编程语言; 通过网络装置的控制平面确定网络装置的服务配置信息对应于代码; 通过网络设备的控制平面编译生成编译代码的代码; 并通过网络装置的控制平面将编译的代码加载到网络装置的转发平面。 此外,本发明的实施例还提供了一种相应的网络设备。 可以通过使用上述技术解决方案部署新服务,这有助于满足新服务的需求。

    NETWORK DEVICE AND MESSAGE PROCESSING METHOD
    6.
    发明公开
    NETWORK DEVICE AND MESSAGE PROCESSING METHOD 有权
    网络设备和消息处理方法

    公开(公告)号:EP2930890A1

    公开(公告)日:2015-10-14

    申请号:EP12891031.2

    申请日:2012-12-31

    IPC分类号: H04L12/70 H04L12/24

    摘要: Embodiments of the present invention provide a network device, including a programmable processor and a non-programmable processor, where the programmable processor includes a first control port; the non-programmable processor includes a second control port, and the second control port is coupled with the first control port; the programmable processor is configured to receive a first packet, and a protocol corresponding to a packet header of the first packet is a first protocol; and the first control port and the second control port are configured to connect the programmable processor and the non-programmable processor, the programmable processor and the non-programmable processor are configured to collaboratively execute the first protocol on the first packet, the non-programmable processor is configured to determine an action of the first protocol to be executed by the programmable processor on the first packet, and the programmable processor is configured to execute the action. In addition, the embodiments of the present invention further provide a packet processing method. The foregoing technical solutions help reduce occupation of storage space of a programmable processor.

    摘要翻译: 本发明的实施例提供了一种网络设备,包括可编程处理器和不可编程处理器,其中可编程处理器包括第一控制端口; 所述非可编程处理器包括第二控制端口,所述第二控制端口与所述第一控制端口连接; 所述可编程处理器用于接收第一报文,所述第一报文的报文头对应的协议为第一协议; 并且所述第一控制端口和所述第二控制端口被配置为连接所述可编程处理器和所述不可编程处理器,所述可编程处理器和所述不可编程处理器被配置为在所述第一分组上协同执行所述第一协议,所述不可编程的 处理器被配置为确定要由可编程处理器对第一分组执行的第一协议的动作,并且可编程处理器被配置为执行动作。 另外,本发明实施例还提供了一种报文处理方法。 上述技术方案有助于减少对可编程处理器的存储空间的占用。

    METHODS FOR GENERATING SEGMENT IDENTIFICATION LIST AND PACKET FORWARDING IN SRV6 NETWORK, APPARATUS, AND SYSTEM

    公开(公告)号:EP3958519A1

    公开(公告)日:2022-02-23

    申请号:EP20802688.0

    申请日:2020-04-29

    IPC分类号: H04L12/703

    摘要: This application discloses a method for generating a segment list used for packet forwarding in an SRv6 network. The method includes: A network device obtains an original segment list corresponding to a packet forwarding path, where the original segment list includes original segment identifiers that are sequentially arranged, and each of the original segment identifiers that are sequentially arranged corresponds to one node or link on the packet forwarding path; the network device compares a plurality of successively adjacent original segment identifiers in the original segment list, to generate a plurality of successively adjacent compressed segment identifiers, where a length of each compressed segment identifier is less than a length of a corresponding original segment identifier; and the network device generates a compressed segment list, where the compressed segment list includes a plurality of compressed segment identifiers, and the compressed segment list is used to forward a packet along the packet forwarding path. In the method, the compressed segment identifier is generated based on the original segment identifier, where the length of the compressed segment identifier is less than that of the original segment identifier, and a length of the compressed segment list is less than that of the original segment list. This improves packet transmission efficiency and processing efficiency in an SR network.

    PACKET PROCESSING METHOD AND FORWARDING ELEMENT

    公开(公告)号:EP3687123A1

    公开(公告)日:2020-07-29

    申请号:EP19199083.7

    申请日:2013-01-29

    摘要: Embodiments of the present invention provide a packet processing method, including: receiving, by a forwarding element, a packet through an inbound port; searching for, by the forwarding element, a port table according to the inbound port, and determining a first offset, a first length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port; determining, by the forwarding element, a first key according to the first offset and the first length, searching for the first table according to the first key, and determining a first instruction; and processing, by the forwarding element, the packet according to the first instruction. In addition, a corresponding forwarding element is further provided. In the foregoing technical solutions, before processing a packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats.

    DATA TRANSMISSION METHOD AND FORWARDING DEVICE

    公开(公告)号:EP3468110A1

    公开(公告)日:2019-04-10

    申请号:EP16907809.4

    申请日:2016-07-06

    摘要: Embodiments of the present invention provide a data sending method, including: respectively receiving, by a forwarding device by using a first FlexE group and in multiple timeslots included in a first timeslot set, multiple first encoded data blocks generated by a physical coding sublayer; determining, by the forwarding device according to the multiple timeslots included in the first timeslot set and the first FlexE group, a second FlexE group and multiple timeslots included in a second timeslot set; and respectively sending, by the forwarding device, the multiple first encoded data blocks by using the second FlexE group and in the multiple timeslots included in the second timeslot set. According to the data sending method in the embodiments of the present invention, the forwarding device does not need to process the first encoded data blocks in a conventional layer 2 (link layer) or layer 3 (network layer) forwarding mode. Therefore, a processing delay can be reduced, and a transmission delay can be reduced.