A contracting device and method for owamp and twamp

A technology for grouping and testing packets, which is applied in the field of communication networks for transmitting data frames, can solve problems affecting the correctness of data packets, achieve high accuracy, improve performance, and avoid processing delays

Active Publication Date: 2020-12-15
武汉二进制半导体有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For some existing devices, simply fixing the UDP checksum field to all 0s, or not updating the UDP checksum field, will affect the correctness of the data packet, especially in the case of an IPv6 network

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 contracting device and method for owamp and twamp
  • A contracting device and method for owamp and twamp
  • A contracting device and method for owamp and twamp

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] see image 3 As shown, this embodiment provides a device for sending packets for OWAMP and TWAMP, including a software packetization engine and a hardware packetization engine. Among them, the software package engine is used to: form the OWAMP / TWAMP test package and send it to the hardware package change engine; when package, add a redundant field in the UDP payload containing the time stamp field in the test package, and the redundant field is used for Stores UDP checksums of incremental calculations. The hardware packet modification engine is used to: identify the OWAMP / TWAMP test packet, and correspondingly modify the timestamp value of the timestamp field in the test packet (the identified OWAMP / TWAMP test packet); pass the verification according to the modified timestamp field and the standard calculation method, the calculated checksum and complement value; according to the calculated checksum and complement value, replace the redundant field in the UDP payload o...

Embodiment 2

[0048] The basic structure of the device for sending packets for OWAMP and TWAMP provided in this embodiment is the same as that of Embodiment 1, except that: see image 3 As shown, the hardware packet modification engine of the packet issuing device includes a packet identification module, a time stamp module, a checksum complement calculation module and a packet modification module. Wherein, the package identification module is used for: identifying the OWAMP / TWAMP test package; the time stamp module is used for: correspondingly modifying the time stamp value in the time stamp field in the test package (the OWAMP / TWAMP test package identified by the package identification module); The checksum complement calculation module is used to calculate the checksum complement value according to the modified timestamp field through the checksum standard calculation method; the package modification module is used to calculate the checksum complement value according to the calculated che...

Embodiment 3

[0051] The basic structure of the packet sending device for OWAMP and TWAMP provided by this embodiment is the same as that of Embodiment 2, the difference is that: the specific flow of the packet identification module identifying the OWAMP / TWAMP test packet includes: the packet identification module receives the Identify the OWAMP / TWAMP test packet composed of the software packet engine in the Ethernet packet, and generate the corresponding OWAMP / TWAMP test packet indication signal; then output the Ethernet packet and OWAMP / TWAMP test packet indication signal to the time stamping module .

[0052] It can be understood that since the Ethernet packet received by the hardware packet modification engine of the packet sending device includes not only OWAMP / TWAMP test packets but also other data packets, it is necessary to set up a packet identification module to identify various Ethernet packets, from which Identify the Ethernet packets belonging to the OWAMP / TWAMP test packets, s...

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 discloses a packet transmitting apparatus and method for an OWAMP and a TWAMP, and relates to the field of communication networks for transmitting data frames. The packet transmitting apparatus comprises a software packet forming engine and a hardware packet modification engine. The software packet forming engine is used for forming an OWAMP / TWAMP test packet and sending the OWAMP / TWAMP test packet to the hardware packet modification engine, during the packet forming of the software packet forming engine, a redundant field is added to the UDP payload containing a timestamp domainof the test packet, and the redundant field is used for storing a UDP checksum of incremental computation; the hardware packet modification engine is used for identifying the OWAMP / TWAMP test packet,and correspondingly modifying a timestamp value of the timestamp domain in the test packet; calculating a checksum supplement value according to the modified timestamp domain; and replacing the redundant field in the UDP payload of the test packet according to the checksum supplement value, and transmitting the test packet and other Ethernet packets. By adoption of the packet transmitting apparatus and method disclosed by the invention, the UDP checksum in the OWAMP / TWAMP test packet can be accurately processed under the conditions of low delay and low cost.

Description

technical field [0001] The present invention relates to the field of communication networks for transmitting data frames, specifically a contract sending device for OWAMP (One-Way Active Measurement Protocol, one-way active measurement protocol) and TWAMP (Two-Way Active Measurement Protocol, two-way active measurement protocol) and methods. Background technique [0002] Today's Internet (Internet) is constantly changing its position, and the content represented by the "bits" flowing in the network has evolved from simple data to multimedia. The information flow in the network is constantly increasing, and various services based on the Internet are also developing rapidly, especially real-time communication services. [0003] On the one hand, because multimedia services occupy a large amount of bandwidth, it is difficult to obtain reliable transmission of key services to be guaranteed by the existing network; on the other hand, real-time communication services are more sens...

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 & AuthorityPatents(China)
IPC IPC(8): H04L12/26H04L29/06
CPCH04L43/08H04L43/106H04L43/18H04L69/164H04L69/18H04L69/22
Inventor刘林乔俊超匡可鲁鹏
Owner武汉二进制半导体有限公司