Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A traffic forwarding method and related device

A traffic forwarding and message forwarding technology, which is applied in the field of network communication, can solve the problems of message discarding, out-of-sync serial numbers, and inability to achieve real-time synchronization of encrypted serial numbers, etc.

Active Publication Date: 2016-03-30
BEIJING HUAWEI DIGITAL TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problem with this is that when the network side forwards traffic to the user side, not only the main link but also the backup link will be used at the same time. Both the main link and the backup link contain a CE device, and the traffic is sent through the main link CE device. The encrypted packets and the serial numbers of the encrypted packets sent by the CE equipment on the standby link are irrelevant, and it is impossible to achieve real-time synchronization of the encrypted serial numbers of two or more CE equipments. Then, when the user receives the encrypted packets , due to the problem of out-of-sync sequence numbers, a large number of originally valid packets will be discarded by the user as not valid packets, causing unnecessary losses

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
  • A traffic forwarding method and related device
  • A traffic forwarding method and related device
  • A traffic forwarding method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] see figure 1, which is a schematic flow chart of a flow forwarding method of the present invention, the method includes the following steps:

[0045] S101: Detect the current VRRP state of the CE device;

[0046] It should be noted here that since the VRRP state of the CE device is not always unchanged during the working process, but can be changed according to different working environments or different working requirements, sometimes it is the main state, sometimes it is the standby state , so it needs to be detected, so that targeted operations can be performed at any time according to the change of the VRRP state of the CE device.

[0047] S102: When the VRRP state is standby, forward the message received from the network side to the CE device in the VRRP state as the master;

[0048] It should be noted here that when the VRRP state of the CE device is standby, the CE device directly forwards the packet received from the network side to the CE device with the VRRP...

Embodiment 2

[0063] Corresponding to the foregoing traffic forwarding method, an embodiment of the present invention further provides a traffic forwarding device. see image 3 , which is a schematic diagram of a device structure of a traffic forwarding device according to the present invention, and the device includes a detection unit 301 , a forwarding unit 302 and an encryption unit 303 .

[0064] The detection unit 301 is configured to detect the current VRRP state of the CE device;

[0065] The forwarding unit 302 is configured to, when the detection unit 301 detects that the current VRRP state is standby, forward the message received from the network side to the CE device in the main VRRP state;

[0066] Preferably, the forwarding unit 302 is also used for:

[0067] The FRR is used to establish a traffic forwarding path from the CE device to the CE device in the current VRRP state to forward packets.

[0068] The encryption unit 303 is configured to, when the detection unit 301 det...

Embodiment 3

[0077] see Figure 5 , which is a schematic diagram of a device structure of a CE device in the present invention. The embodiment of the present invention provides a CE device 500, the CE device 500 is the CE device in the foregoing method embodiment, and the CE device 500 includes a memory 501, a transmitter 502 and a receiver 503, and a processor 504 connected to the memory 501, the transmitter 502 and the receiver 503 respectively, the memory 501 is used to store a set of program codes, and in some embodiments, the processor 504 is used to Call the program stored in memory 501 to perform the following operations:

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 embodiment of the present invention discloses a traffic forwarding method and a related device, including: detecting the current VRRP state of CE equipment; when the VRRP state is standby, forwarding the message received from the network side to the CE equipment in the VRRP state as master ; When the VRRP state is master, encrypt the message received from the network side and the message received from other CE devices and assign a unique corresponding serial number according to the preset rules. It can be seen that when the VRRP state of the CE device is In the standby mode, the packets received from the network side are directly forwarded to other CE devices in the VRRP state before being encrypted, and then the CE device in the VRRP state will encrypt the received packets and assign serial numbers uniformly, so that The serial number of the encrypted message sent to the user side is provided by a CE device in turn, thus solving the problem that a large number of originally valid messages are discarded as invalid messages by the user.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a flow forwarding method and a related device. Background technique [0002] When traffic is forwarded through the network, the traffic forwarding link between the user side and the network side is mainly composed of switches, customer edge (CustomerEdge, CE) devices, and provider edge (ProviderEdge, PE) devices. In practical applications, in order to ensure The smooth forwarding of traffic generally uses multi-device backup technology. The so-called multi-device backup technology refers to connecting two or more traffic forwarding links between the user side and the network side. During normal traffic forwarding, Only one group of traffic forwarding links is used as the primary link to complete the traffic forwarding function, and the other group of traffic forwarding links is used as the backup link. Adjust the state of the CE device through the virtual router redundancy p...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/713H04L29/06H04L45/586
Inventor 韦乃文
Owner BEIJING HUAWEI DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products