Method and device for updating stream forward table content based on the stream forward

A technology for streaming and forwarding tables and content, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as ineffectiveness and inability to update, and achieve the effect of improving forwarding performance

Inactive Publication Date: 2007-08-01
HUAWEI TECH CO LTD
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The user configures some parameters and establishes a flow. Subsequent packets match the flow forwarding table items for forwarding, which saves the trouble of looking up multiple tables and completes high-speed forwarding. However, once the user chang

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for updating stream forward table content based on the stream forward
  • Method and device for updating stream forward table content based on the stream forward
  • Method and device for updating stream forward table content based on the stream forward

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Example 1: Dynamically update the entire content of the stream based on the set flag

[0026] In this embodiment, the forwarding plane and the control plane of the data communication device based on flow forwarding agree on a flag used to identify changes in device configuration information (including changes in routing information), and the control plane of the device dynamically detects changes in the configuration information , and set the corresponding flag to 1 (other values ​​are also possible) when the configuration changes. When a new message arrives, the forwarding plane of the data communication device first searches for the flow, checks the flow forwarding table with the five-tuple Key value and matches the old flow forwarding table entry, and if it recognizes that the flag is 1, then updates the flow forwarding table the content of the item.

[0027] For example, when the control plane finds that the route has changed, it sets the flag to 1. When the packe...

Embodiment 2

[0030] Embodiment 2: Dynamically update part of the content of the flow forwarding entry based on one or more flags

[0031] In this embodiment, a set of (at least one) flags can be defined for each flow for the corresponding configuration (including routing information) of the content of the leaf field of the flow forwarding entry, such as: routing information change flag, QoS configuration change flag, NAT configuration One or more of flags etc. are changed, and the initial value of each flag is 0.

[0032]When the control plane of the data communication device detects a configuration change (including a change of routing information), it sets a corresponding flag to 1 to identify the change. When a new message arrives, the forwarding plane of the device checks the flow forwarding table with the five-tuple Key value and matches the old flow forwarding table entry. If it recognizes that some flags are 1, it updates the corresponding leaf field marked as 1 Content. For examp...

Embodiment 3

[0034] Example 3: Using timer tasks to dynamically update the content of flow forwarding entries

[0035] Embodiment 1 and Embodiment 2 are based on one or more flags to identify the change of the device configuration and update the flow. In the case of frequent changes in the device configuration, it will have a certain impact on the processing performance and forwarding performance of the device. Therefore, it is considered not to To update the flow frequently, this embodiment uses an independent thread and a timer mechanism to check whether the configurations corresponding to different leaf fields in the flow forwarding table item have changed at regular intervals, and if a change is found, use the flag indicating the change of the configuration information. ID, and update the content of the leaf field in the corresponding matching flow forwarding entry when the next packet arrives.

[0036] In this embodiment, for the configuration (including routing information) correspon...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The provided updating method for flow transmission table content comprises: detecting the configuration information change corresponding to flow transmission table content by control panel, and indicating the variation by the configuration information change mark; when coming the matched new message, updating the table content according to the change mark. This invention can detect the dynamic change of configuration information for dynamic update, and improves transmission performance of digital communication device.

Description

technical field [0001] The present invention relates to stream forwarding in data communication technology, specifically, to a method and device for updating stream forwarding entry content based on stream forwarding. Background technique [0002] In a data communication device, there are generally two ways of forwarding packets: packet-by-packet forwarding and session-based forwarding. Packet-by-packet forwarding, as the name implies, checks the Layer 3 routing table, Layer 2 Address Resolution Protocol (ARP: Address Resolution Protocol) table, and Layer 4 Access Control List (ACL: Access Control List) for each packet received by the device. , which includes quality of service (QoS enabling conditions, QoS configuration parameters, network address translation NAT information, etc.) ARP table). Based on flow forwarding, when its first packet arrives, check multiple tables for the packet (check the third-layer routing table, check the second-layer ARP table, check the fourt...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/56H04L29/06H04L12/26H04L12/24
Inventor 王磊王泉
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products