Method and device for quick packet mirroring forwarding of network equipment

A network device and fast packet technology, applied in the field of network communication, can solve the problems of not being able to use data packet network scenarios, occupying a lot of resources, etc., to achieve the effect of improving device performance, reducing data copying, and ensuring correctness

Inactive Publication Date: 2020-11-06
CHINA TELECOM CORP LTD +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this solution can improve the processor's performance in processing normal business forwarding, it needs to use two processing units, which takes up a lot of resources; and it also has certain limitations, and cannot be used in network scenarios where data packets need to be modified.

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 quick packet mirroring forwarding of network equipment
  • Method and device for quick packet mirroring forwarding of network equipment
  • Method and device for quick packet mirroring forwarding of network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Example embodiments provide a network device for fast packet forwarding method of the mirror can be applied to network devices need to mirror data and forwarding, and forwards the packets need to be modified scene before packets present invention

[0038] Combine figure 1 and figure 2 The method provided in the embodiment of the present invention includes the following steps:

[0039] Step 201, the network device after receiving the original packet, mirroring the original message of the network port mirroring, mirroring complete packet.

[0040] Here mainly refers to network equipment mirrored packets and forwards the packets are not the same (i.e., the packets need to be modified before forwarding packets) devices, such as routers, switches, gateways and the like. The most common type of broadband remote access server BARS, BARS is a network edge device, is a new access gateway for broadband network applications, the user can complete the data access bandwidth IP / ATM net...

Embodiment 2

[0061] Based on the method of the rapid enabling mirror forwarding provided by the above-described Embodiment 1, the present invention also provides a device for realizing a fast-moving mirror forward for a network device of the above method, such as Figure 5 As shown, it is a schematic diagram of the apparatus architecture of the embodiment of the present invention. The apparatus for a network device fast-enabling mirror forwarding of the present embodiment includes one or more processors 21 and a memory 22. in, Figure 5 Taking a processor 21 as an example.

[0062] The processor 21 and the memory 22 can be connected by a bus or other means. Figure 5 In connection with the bus connection.

[0063] The memory 22 is used as a method for a network device's fast-enabling mirror forwarding. Non-volatile computer readable storage medium, which can be used to store non-volatile software programs, non-volatile computers, and modules, such as implementation. The method for fast-moving mir...

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 invention relates to the technical field of network communication, in particular to a method and a device for quick packet mirroring forwarding of network equipment. The method comprises the stepsthat: the network equipment carries out mirroring of an original message through using a mirroring network port after receiving an original message; the original message is analyzed to obtain a message header and bearing data of the original message; a message header of a forwarding message is reconstructed according to the message header of the original message and a data packet modification requirement of the forwarding message; and the newly constructed message header and the bearing data of the original message are combined and sent to finish message forwarding. For the situation that theoriginal message needs to be modified before the message is forwarded, the method can ensure that mirroring and forwarding of the data do not influence each other, unnecessary data copying is reducedwhile the correctness of mirroring and forwarding of the data packet is ensured, and the performance of equipment is greatly improved.

Description

[Technical field] [0001] The present invention relates to network communication technology field, particularly to a method and apparatus for a fast packet network device forwarding the mirror. 【Background technique】 [0002] Currently, operators have analyzed the needs of the user data, which requires the collection of user data by the method of packet mirroring that of the original message data replication. On network devices, such as a Broadband Remote Access Server (Broadband RemoteAccess Server, abbreviated as BRAS) on the data collection has many advantages mirror the packets, but also network equipment often have to assume the function of forwarding packets; in order to enhance the user experience , you need to mirror the packets and packets forwarded to as small as possible, to ensure the performance of network devices. Many network devices (such as a network edge device) often need to be carried out before forwarding packets to the original packet processing and modificat...

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 Applications(China)
IPC IPC(8): H04L12/931H04L12/947H04L12/741H04L29/12H04L45/74
CPCH04L49/208H04L49/252H04L45/74H04L61/2521
Inventor 徐毅潘鸿雷叶志钢刘俊伟何大明谭芳钟华张玲代敏
Owner CHINA TELECOM CORP 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